Skip to content

Commit

Permalink
Change default user for jinja-cli docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker9944 committed Sep 2, 2024
1 parent 8ed5bf0 commit 35e587a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/jinja-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM python:3.12.5@sha256:e3d5b6f95ce66923b5e48a06ee5755abb097de96a8617c3f2f7d431d48e63d35

LABEL org.opencontainers.image.description="Python image with jinja2-cli installed"

COPY requirements.txt ./
RUN \
pip install --no-cache-dir -r requirements.txt && \
rm requirements.txt

LABEL org.opencontainers.image.description="Python image with jinja2-cli installed"
USER nobody:nogroup

ENTRYPOINT ["jinja2"]

0 comments on commit 35e587a

Please sign in to comment.