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

Change deployment page Dockerfile example to use adduser #24

Merged
merged 3 commits into from
Oct 6, 2024

Conversation

erikdaniel
Copy link
Contributor

@erikdaniel erikdaniel commented Oct 5, 2024

This change updates the example Dockerfile on the deployment page to use the command "adduser" instead of "useradd".

Alpine no longer works with useradd, so the original version fails.

The new version also uses the -S arg, which creates a system user, which is essentially the same as the args used for useradd in the original.

Fixes #23

src/getting-started/deployment.md Outdated Show resolved Hide resolved
@System-Glitch System-Glitch merged commit 36dcd20 into go-goyave:master Oct 6, 2024
3 checks passed
@System-Glitch
Copy link
Member

Thank you very much!

@erikdaniel erikdaniel deleted the deployment-example branch October 9, 2024 21:08
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 this pull request may close these issues.

Deployment Dockerfile should use adduser instead of useradd
2 participants