Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build image #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix build image #96

wants to merge 1 commit into from

Conversation

shenxn
Copy link
Owner

@shenxn shenxn commented Feb 8, 2024

No description provided.

@schklom
Copy link

schklom commented Mar 5, 2024

FROM ubuntu:jammy

Jammy is not available for linux/riscv64, see https://hub.docker.com/_/ubuntu/tags?page=1&name=jammy
And note that no ubuntu images are available for linux/riscv64. You need to remove that platform from

PLATFORMS: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/riscv64

@ShayBox
Copy link

ShayBox commented Mar 9, 2024

 => ERROR [protonmail-bridge build 3/6] RUN ARCH=$(uname -m) &&     if [ "${ARCH}" = "x86_64" ]; then ARCH="amd64"; fi &&     curl -sL https://go.dev/dl/go1.22.0.linux-${ARCH}.tar.gz     | tar -C /usr/l  0.5s
------
 > [protonmail-bridge build 3/6] RUN ARCH=$(uname -m) &&     if [ "${ARCH}" = "x86_64" ]; then ARCH="amd64"; fi &&     curl -sL https://go.dev/dl/go1.22.0.linux-${ARCH}.tar.gz     | tar -C /usr/local -xzf -:
0.467
0.467 gzip: stdin: not in gzip format
0.468 tar: Child returned status 1
0.468 tar: Error is not recoverable: exiting now
------
failed to solve: process "/bin/sh -c ARCH=$(uname -m) &&     if [ \"${ARCH}\" = \"x86_64\" ]; then ARCH=\"amd64\"; fi &&     curl -sL https://go.dev/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz     | tar -C /usr/local -xzf -" did not complete successfully: exit code: 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants