Shellcheck package is available only for x86
See original GitHub issueEdit: shellcheck not spellcheck scusi 😄
There are quite a few hosters that migrate to ARM processors (Oracle Ampere for instance) and also for home usage Raspberry Pi’s might be considered as target for hosting Zulip.
I tried to install the docker-compose manifest to my Ampere instance and it fails because of the shellcheck package:
+ sudo -- tools/setup/install-shellcheck
2021-07-08 13:47:36 URL:https://github-releases.githubusercontent.com/6731432/1e1bab80-76a6-11ea-8aac-54b81eab6895?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210708T134736Z&X-Amz-Expires=300&X-Amz-Signature=ca22cff27c79593c98e4b22323b71dbefdeaa05fe0c155f3557aa235640f5e0d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=6731432&response-content-disposition=attachment%3B%20filename%3Dshellcheck-v0.7.1.linux.x86_64.tar.xz&response-content-type=application%2Foctet-stream [1443836/1443836] -> "shellcheck-v0.7.1.linux.x86_64.tar.xz" [1]
shellcheck-v0.7.1.linux.x86_64.tar.xz: OK
Error running a subcommand of ./lib/provision.py: sudo -- tools/setup/install-shellcheck
Actual error output for the subcommand is just above this.
Provisioning failed (exit code 1)!
* Look at the traceback(s) above to find more about the errors.
* Resolve the errors or get help on chat.
* If you can fix this yourself, you can re-run tools/provision at any time.
* Logs are here: zulip/var/log/provision.log
ERROR: Service 'zulip' failed to build: The command '/bin/sh -c ./tools/provision --build-release-tarball-only' returned a non-zero code: 1
I’d expect the installer to check for the architecture of the host system and deploy the correct package.
Thanks in advance 😃
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
ShellCheck, a static analysis tool for shell scripts - GitHub
ShellCheck - A shell script static analysis tool. ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts:.
Read more >[Package Request] shellcheck : r/termux - Reddit
shellcheck is a must-have application to remove or prevent bugs from shell scripts. It would be extremely useful to have this tool available...
Read more >ShellCheck – shell script analysis tool
ShellCheck is an open source static analysis tool that automatically finds bugs in your shell scripts.
Read more >ShellCheck: Finds bugs in your shell scripts - Hacker News
Shellcheck : a static analysis tool for shell scripts ... Just found out about this wonderful program from this HN comment here(1).
Read more >How to Install x86_64 Homebrew Packages on Apple M1 ...
There are still many applications that support only Intel processors. You can check it by opening app information through the “Get Info” button....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing this since the shellcheck issue itself is resolved; I also confirmed that we uploaded an arm64 postgres image 4 months ago, so I think this is fully fixed.
xpost from zulip:
with the new commits to master, I was able to get docker-zulip to build today on my oracle ARM ampere instance. in the sample
docker-compose.yml, I seeimage: 'zulip/zulip-postgresql:10'is used and no ARM build is available on dockerhub.I attempted to use postgres:13 and postgres:10 instead, both had the same error:
I looked up the error on github and found this issue https://github.com/zulip/docker-zulip/issues/92 but it seems it is now outdated and tsearch extras is no longer used https://github.com/zulip/zulip/pull/13092.
what do I need to do to get a working postgres image for ARM?