diff --git a/Dockerfile b/Dockerfile index 44ecc8f..91aeabb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ ENV GROUP dockergroup ENV USER docker ENV HOMEDIR "/home/${USER}" ENV PATH ${HOMEDIR}/.local/bin:$PATH +ENV PROFILE production RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}" USER ${USER} WORKDIR ${HOMEDIR} @@ -14,4 +15,4 @@ RUN pip install --no-cache-dir -r requirements.txt RUN rm requirements.txt RUN git config --global --add safe.directory /drone/src -CMD [ "ansible-lint" ] \ No newline at end of file +CMD [ "ansible-lint", "--profile $PROFILE" ] \ No newline at end of file