Change installation of wkhtmltopdf

This commit is contained in:
Deon George 2020-04-03 17:00:24 +11:00
parent e7e10b349f
commit abedd9b6e6
1 changed files with 8 additions and 2 deletions

View File

@ -4,9 +4,15 @@
FROM registry.leenooks.net/leenooks/php:7.3-fpm-plus
RUN echo "deb http://deb.debian.org/debian buster non-free" >> /etc/apt/sources.list.d/non-free.list && apt-get update \
&& apt-get install -y wkhtmltopdf mariadb-client-10.3 inetutils-ping fping pkg-config \
&& apt-get install -y mariadb-client-10.3 inetutils-ping fping pkg-config \
libsnmp-dev snmp-mibs-downloader --no-install-recommends \
&& strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 \
&& download-mibs \
&& docker-php-ext-install -j$(nproc) snmp \
&& rm -rf /var/lib/apt/lists/* /tmp/*
# Add in Leenooks' apt repository
RUN curl -s http://apt.leenooks.net/buster/setup.sh | sh
RUN apt-get update \
&& apt-get install -yqq wkhtmltox \
&& rm -rf /var/lib/apt/lists/* /tmp/*