fyne-io / fyne-cross-images

Repository for managing fyne-cross images
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Update Fyne and Go along with version number for image. #17

Closed Bluebugs closed 1 year ago

Jacalz commented 1 year ago

I seem to be getting this when running a make linux command locally:

STEP 8/17: RUN set -eux;     arch="$(dpkg --print-architecture)";     url=;     sha256=;     case "$arch" in         'amd64')             url="https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz";            sha256='e3410c676ced327aec928303fef11385702a5562fd19d9a1750d5a2979763c3d';             ;;         'arm64')             url="https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz";            sha256='e4d63c933a68e5fad07cab9d12c5c1610ce4810832d47c44314c3246f511ac4f';             ;;         *) echo >&2 "error: unsupported architecture '$arch'"; exit 1 ;;     esac;     curl -sSL ${url} -o go.tgz;     echo ${sha256} go.tgz | sha256sum -c -;     tar -C /usr/local -zxf go.tgz;     rm go.tgz;     go version;
+ dpkg --print-architecture
+ arch=amd64
+ url=
+ sha256=
+ url=https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
+ sha256=e3410c676ced327aec928303fef11385702a5562fd19d9a1750d5a2979763c3d
+ curl -sSL https://go.dev/dl/go1.20.3.linux-amd64.tar.gz -o go.tgz
+ echo e3410c676ced327aec928303fef11385702a5562fd19d9a1750d5a2979763c3d go.tgz
+ sha256sum -c -
go.tgz: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
Error: building at STEP "RUN set -eux;     arch="$(dpkg --print-architecture)";     url=;     sha256=;     case "$arch" in         'amd64')             url="https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz";            sha256='e3410c676ced327aec928303fef11385702a5562fd19d9a1750d5a2979763c3d';             ;;         'arm64')             url="https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz";            sha256='e4d63c933a68e5fad07cab9d12c5c1610ce4810832d47c44314c3246f511ac4f';             ;;         *) echo >&2 "error: unsupported architecture '$arch'"; exit 1 ;;     esac;     curl -sSL ${url} -o go.tgz;     echo ${sha256} go.tgz | sha256sum -c -;     tar -C /usr/local -zxf go.tgz;     rm go.tgz;     go version;": while running runtime: exit status 1
make: *** [Makefile:11: base] Error 1

Am I doing something wrong?

Bluebugs commented 1 year ago

Oh, shoot, the checksum didn't get updated.