fix linter errors
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:32:44 +02:00
parent f0f3d3ec23
commit eaed0dafe7

View file

@ -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 && \