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 authored and dajohi committed Jul 1, 2024
1 parent d1461b8 commit c8c83d2
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 DCRDOCS_CARDS true
Expand Down

0 comments on commit c8c83d2

Please sign in to comment.