typo
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-30 11:21:23 +02:00
parent e409c7c848
commit 6d1e234ebb

View file

@ -38,7 +38,7 @@ RUN apt-get update \
# https://dev.to/izackv/running-a-docker-container-with-a-custom-non-root-user-syncing-host-and-container-permissions-26mb # https://dev.to/izackv/running-a-docker-container-with-a-custom-non-root-user-syncing-host-and-container-permissions-26mb
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN addgroup --gid 1000 ansible-dev && \ RUN addgroup --gid 1000 ansible-dev && \
adduser --uid 1000 --gid 2000 --disabled-password --gecos "" ansible-dev && \ adduser --uid 1000 --gid 1000 --disabled-password --gecos "" ansible-dev && \
echo 'ansible-dev ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers echo 'ansible-dev ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
# Set the non-root user as the default user # Set the non-root user as the default user