Rebuild without other user
This commit is contained in:
parent
6e477cb009
commit
57268fe8ce
1 changed files with 0 additions and 8 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue