Skip to content

Commit 789c3fa

Browse files
committed
docker: Add -y to apt install.
This will automatically accept any questions asked by apt and prevent the build from failing.
1 parent fb365d0 commit 789c3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN pip install mkdocs && \
1818
# Install dependencies for generating social cards.
1919
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards
2020
RUN apt update && \
21-
apt install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
21+
apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
2222
pip install pillow cairosvg
2323

2424
ENV DCRDEVDOCS_CARDS true

0 commit comments

Comments
 (0)