Skip to content

Commit

Permalink
fix: allow tectonic to install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Aug 26, 2024
1 parent 349b916 commit 12715cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ FROM debian:bookworm-slim
ENV HOME=/home/user
ENV PATH=$HOME/app:$PATH

RUN useradd -m -u 1000 user

RUN useradd -m -u 1000 user && apt update && apt install -y ca-certificates && rm -r /var/lib/apt/lists/*
USER user

WORKDIR $HOME/app

COPY --chown=user --from=texlive-builder /root/.cache/Tectonic $HOME/.cache/Tectonic
COPY --chown=user --from=rust-builder /etc/fonts /etc/fonts
COPY --chown=user --from=rust-builder /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu
COPY --chown=user --from=rust-builder /target/release/tectonic-api $HOME/app

Expand Down

0 comments on commit 12715cd

Please sign in to comment.