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

Dockerfile-Application-Server remove sudo command in the Dockerfile #15

Open
AntoineBRU opened this issue Dec 6, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@AntoineBRU
Copy link
Collaborator

in the Openresty installation section, there is a sudo command.
the build process is lunched using the root account, not in a user space. sudo is for users.

remove the sudo command line 17

@AntoineBRU AntoineBRU added the bug Something isn't working label Dec 6, 2024
@dsilhavy
Copy link
Contributor

@AntoineBRU Which sudo command do you mean? The tee command is not using sudo in our Dockerfile:

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/arm64/ubuntu $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/openresty.list > /dev/null && \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants