add weekly build, change to trixie and clean up
This commit is contained in:
parent
15adccd03c
commit
76b56114b5
3 changed files with 52 additions and 15 deletions
|
|
@ -1,7 +1,6 @@
|
|||
FROM debian:bookworm-slim
|
||||
FROM debian:trixie-slim
|
||||
|
||||
ARG PHP_VERSION=7.4
|
||||
ARG WKHTML=""
|
||||
|
||||
RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
|
|
@ -19,19 +18,12 @@ RUN apt-get install -y --no-install-recommends imagemagick apache2 msmtp msmtp-m
|
|||
php${PHP_VERSION}-imagick php${PHP_VERSION}-intl php${PHP_VERSION}-mbstring \
|
||||
php${PHP_VERSION}-mysql php${PHP_VERSION}-opcache php${PHP_VERSION}-readline php${PHP_VERSION}-sqlite3 \
|
||||
php${PHP_VERSION}-xml php${PHP_VERSION}-yaml php${PHP_VERSION}-zip php${PHP_VERSION}-apcu \
|
||||
php${PHP_VERSION}-redis \
|
||||
libapache2-mod-php${PHP_VERSION}
|
||||
|
||||
# specific PHP modules for some versions
|
||||
RUN if [[ "${PHP_VERSION}" == "7.4" ]] ; then apt-get -y install php${PHP_VERSION}-json; fi
|
||||
|
||||
# install wkhtml if needed
|
||||
RUN if [[ "${WKHTML}" != "" ]] ; then \
|
||||
apt-get install -y --no-install-recommends libfreetype6-dev libjpeg62-turbo-dev libpng-dev fontconfig libfreetype6 libjpeg62-turbo \
|
||||
libpng16-16 libx11-6 libxcb1 libxext6 libxrender1 xfonts-75dpi xfonts-base; \
|
||||
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_arm64.deb -o /tmp/wkhtmltox.deb; \
|
||||
dpkg -i /tmp/wkhtmltox.deb; \
|
||||
fi
|
||||
|
||||
# upgrade system a second time
|
||||
RUN apt-get upgrade -y
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue