Skip to content

Coder CLI will not install on Alpine #2800

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

Closed
wale opened this issue Jul 3, 2022 · 2 comments · Fixed by #2858
Closed

Coder CLI will not install on Alpine #2800

wale opened this issue Jul 3, 2022 · 2 comments · Fixed by #2858

Comments

@wale
Copy link

wale commented Jul 3, 2022

The preinstall.sh script has a hard dependency on useradd, which is not included within Alpine's busybox utilities.

coder/preinstall.sh

Lines 8 to 13 in b1e4cfe

useradd \
--create-home \
--system \
--user-group \
--shell /bin/false \
$USER

With this, the Alpine .apk package will fail to install.

@wale
Copy link
Author

wale commented Jul 3, 2022

It looks like some dependencies could be missing from the .apk (shadow?)

kylecarbs added a commit that referenced this issue Jul 8, 2022
…lable

Fixes #2800 preventing installation on Alpine.
kylecarbs added a commit that referenced this issue Jul 8, 2022
…lable (#2858)

Fixes #2800 preventing installation on Alpine.
@kylecarbs
Copy link
Member

This is released in v0.7.7!

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 a pull request may close this issue.

2 participants