same...
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build unknown status

This commit is contained in:
Michael Grote 2024-07-30 10:33:24 +02:00
parent eaed0dafe7
commit b45e6609f6

View file

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