Skip to content

Commit

Permalink
docker: Add -y to apt install.
Browse files Browse the repository at this point in the history
This will automatically accept any questions asked by apt and prevent
the build from failing.
  • Loading branch information
jholdstock committed Jul 1, 2024
1 parent fb365d0 commit 789c3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pip install mkdocs && \
# Install dependencies for generating social cards.
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards
RUN apt update && \
apt install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
pip install pillow cairosvg

ENV DCRDEVDOCS_CARDS true
Expand Down

0 comments on commit 789c3fa

Please sign in to comment.