diff --git a/Dockerfile b/Dockerfile index 6afdf6f..fcfeedf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \