protonmail-bridge-docker icon indicating copy to clipboard operation
protonmail-bridge-docker copied to clipboard

Fix build image

Open shenxn opened this issue 1 year ago • 2 comments

shenxn avatar Feb 08 '24 03:02 shenxn

https://github.com/shenxn/protonmail-bridge-docker/blob/3f04e67e427ba2775bb5083e2a0a449cd7c02e6b/build/Dockerfile#L19

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

https://github.com/shenxn/protonmail-bridge-docker/blob/5b52d7c9aa49756fe6fdf64c2ba99a69e9493ba1/.github/workflows/build.yaml#L19

schklom avatar Mar 05 '24 00:03 schklom

 => 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

ShayBox avatar Mar 09 '24 18:03 ShayBox