initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Aaron Riedel 2023-02-15 00:57:15 +01:00
commit e1ad003afd
Signed by: aaron
GPG key ID: 643004654D40D577
5 changed files with 42 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM amd64/python:3.11.2-alpine3.16
RUN apk add --no-cache git
WORKDIR ./
ARG PUID=1000
ENV GROUP dockergroup
ENV USER docker
ENV HOMEDIR "/home/${USER}"
ENV PATH ${HOMEDIR}/.local/bin:$PATH
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}"
USER ${USER}
WORKDIR ${HOMEDIR}
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN rm requirements.txt
CMD [ "ansible-lint" ]