Installer script doesn't understand `linux/arm64`
skyzyx opened this issue · comments
Thank you for creating the issue!
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've included all information below (version, config, etc).
Inside an Alpine Linux Docker container running on my M1-based Mac, I am trying to install Woke. From my Dockerfile
:
RUN curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin
I receive the following error during docker build
:
get-woke/woke crit platform linux/arm64 is not supported. Make sure this script is up-to-date and file request at https://github.com/get-woke/woke/issues/new
Looks like the installer script doesn't understand linux/arm64
, even though you publish the packages in the releases.
👋 Thanks for submitting your first issue!
Please be sure to read and follow our Code of Conduct and Contributing guide.
⭐️ Is your org or open source project using woke
? If so, we'd love for you to be included in the 'Who uses woke
' list at https://github.com/get-woke/woke/blob/main/docs/about.md#who-uses-woke.
Can you try running with debug logging on and post the output? curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d
@skyzyx I have a fix up in #200 for this, but can you verify your issue is resolved by running curl -sSLf https://raw.githubusercontent.com/get-woke/woke/issue/199/install.sh | bash -s -- -b /usr/local/bin -d
and posting the output? (the -d
at the end enabled debug logging and isn't necessary once this PR is merged).
Testing…
On Alpine Linux:
$ apk add curl bash
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/9) Installing ncurses-terminfo-base (6.3_p20220521-r0)
(2/9) Installing ncurses-libs (6.3_p20220521-r0)
(3/9) Installing readline (8.1.2-r0)
(4/9) Installing bash (5.1.16-r2)
Executing bash-5.1.16-r2.post-install
(5/9) Installing ca-certificates (20211220-r0)
(6/9) Installing brotli-libs (1.0.9-r6)
(7/9) Installing nghttp2-libs (1.47.0-r0)
(8/9) Installing libcurl (7.83.1-r1)
(9/9) Installing curl (7.83.1-r1)
Executing busybox-1.35.0-r13.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 10 MiB in 23 packages
$ curl -sSLf https://raw.githubusercontent.com/get-woke/woke/issue/199/install.sh | bash -s -- -b /usr/local/bin -d
get-woke/woke info checking GitHub for latest tag
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/latest
get-woke/woke info found version: 0.18.2 for v0.18.2/linux/arm64
get-woke/woke debug downloading files into /tmp/tmp.ljiInc
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/download/v0.18.2/woke-0.18.2-linux-arm64.tar.gz
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/download/v0.18.2/woke-0.18.2-checksums.txt
get-woke/woke info installed /usr/local/bin/woke
Seems to work now. Thanks!
From your first response:
Can you try running with debug logging on and post the output?
curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d
$ curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d
get-woke/woke crit platform linux/arm64 is not supported. Make sure this script is up-to-date and file request at https://github.com/get-woke/woke/issues/new
This was the message I saw when first putting together my Dockerfile
.
Using the install instructions in the docs should work now. Thanks for reporting!
Thanks for fixing!