ansible-lint/Dockerfile-root
Aaron Riedel fe2775ed8c
All checks were successful
ci/woodpecker/push/rootless Pipeline was successful
ci/woodpecker/push/root Pipeline was successful
drop deprecated ENV key value format
2025-03-16 12:41:07 +01:00

19 lines
No EOL
557 B
Text

FROM python:3.13.2-slim-bookworm
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
WORKDIR ./
# ARG PUID=1000
# ENV GROUP=dockergroup
# ENV USER=docker
# ENV HOMEDIR="/home/${USER}"
# ENV PATH=${HOMEDIR}/.local/bin:$PATH
ENV PLUGIN_PROFILE=production
# RUN useradd -u "${PUID}" -m "${USER}"
COPY script.sh /bin/
RUN chmod +x /bin/script.sh
# USER ${USER}
# WORKDIR ${HOMEDIR}
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN rm requirements.txt
ENTRYPOINT [ "script.sh" ]