Skip to content

Commit c8c83d2

Browse files
jholdstockdajohi
authored andcommitted
docker: Add -y to apt install.
This will automatically accept any questions asked by apt and prevent the build from failing.
1 parent d1461b8 commit c8c83d2

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 DCRDOCS_CARDS true

0 commit comments

Comments
 (0)