You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install-packages to use sudo or gosu automatically to install the package.
Additional context
This Dockerfile can not be built.
FROM gitpod/workspace-full:2023-05-08-21-16-55
RUN install-packages yamllint
=> ERROR [2/2] RUN install-packages yamllint 0.6s
------
> [2/2] RUN install-packages yamllint:
#0 0.585 Run this script again as root to install packages.
This Dockerfile is invalid by hadolint.
FROM gitpod/workspace-full:2023-05-08-21-16-55
RUN sudo install-packages yamllint
.gitpod.Dockerfile:2 DL3004 error: Do not use sudo as it leads to unpredictable behavior. Use a tool like gosu to enforce root ```
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
I'm always frustrated when I have to use
sudo
in Dockerfile becausehadolint
complains about it - https://github.com/hadolint/hadolint/wiki/DL3004Describe the behaviour you'd like
install-packages
to usesudo
orgosu
automatically to install the package.Additional context
This Dockerfile can not be built.
This Dockerfile is invalid by
hadolint
..gitpod.Dockerfile:2 DL3004 error: Do not use sudo as it leads to unpredictable behavior. Use a tool like gosu to enforce root ```
The text was updated successfully, but these errors were encountered: