fix linter errors
This commit is contained in:
parent
f0f3d3ec23
commit
eaed0dafe7
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||
|
||||
# Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions
|
||||
# https://dev.to/izackv/running-a-docker-container-with-a-custom-non-root-user-syncing-host-and-container-permissions-26mb
|
||||
RUN apt update && \
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update && \
|
||||
apt install -y sudo && \
|
||||
addgroup --gid 2000 nonroot && \
|
||||
adduser --uid 2000 --gid 2000 --disabled-password --gecos "" ansible-user && \
|
||||
|
|
Loading…
Reference in a new issue