Skip to content
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

newest alpine (3.16.0) no longer has the sg command #404

Open
ap-wtioit opened this issue May 24, 2022 · 2 comments
Open

newest alpine (3.16.0) no longer has the sg command #404

ap-wtioit opened this issue May 24, 2022 · 2 comments

Comments

@ap-wtioit
Copy link
Contributor

the exec sg vpn -c at the end of openvpn.sh does not work with the current alpine:latest (3.16.0) image:

docker run --rm alpine:3.16.0 sh -c "apk add shadow && sg root -c id"

gives you:
sh: sg: not found
while it still does work with 3.15.4

docker run --rm alpine:3.15.4 sh -c "apk add shadow && sg root -c id"

uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

@ghost
Copy link

ghost commented May 26, 2022

Hi,
Same problem.

Just modified the Dockerfile with FROM alpine:3.15.4 for the moment

@NHellFire
Copy link

#405 fixes this

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

No branches or pull requests

2 participants