Rebuild without other user
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Ryan Voots 2024-02-18 11:42:42 -05:00
parent 6e477cb009
commit 57268fe8ce

View file

@ -2,11 +2,3 @@ FROM debian:bookworm-backports
RUN apt update && apt install -y pandoc graphicsmagick texlive texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-links texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-luatex texlive-pictures texlive-plain-generic texlive-pstricks && apt clean
RUN useradd -ms /bin/bash renderer
RUN mkdir /data && chown renderer /data
RUN mkdir /app && chown renderer /app
USER renderer
COPY ./render_image.sh /app
WORKDIR /app
ENTRYPOINT ["/app/render_image.sh"]