1- FROM dockette/debian:stretch
1+ FROM dockette/debian:buster
22
33LABEL maintainer=
"[email protected] " 44
@@ -13,11 +13,12 @@ ENV TZ=Europe/Prague
1313# INSTALLATION
1414RUN apt update && apt dist-upgrade -y && \
1515 # DEPENDENCIES #############################################################
16- apt install -y wget curl apt-transport-https ca-certificates git unzip && \
16+ apt install -y wget curl apt-transport-https ca-certificates lsb-release git unzip && \
1717 # PHP DEB.SURY.CZ ##########################################################
1818 wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
19- echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/php.list && \
19+ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \
2020 apt update && \
21+ apt dist-upgrade -y && \
2122 apt install -y --no-install-recommends \
2223 php7.2-apc \
2324 php7.2-apcu \
@@ -30,6 +31,8 @@ RUN apt update && apt dist-upgrade -y && \
3031 php7.2-curl \
3132 php7.2-geoip \
3233 php7.2-gettext \
34+ php7.2-gd \
35+ php7.2-intl \
3336 php7.2-imap \
3437 php7.2-ldap \
3538 php7.2-mbstring \
@@ -53,7 +56,7 @@ RUN apt update && apt dist-upgrade -y && \
5356 # CLEAN UP #################################################################
5457 apt-get clean -y && \
5558 apt-get autoclean -y && \
56- apt-get remove -y wget curl && \
59+ apt-get remove -y wget curl lsb-release && \
5760 apt-get autoremove -y && \
5861 rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/*
5962
0 commit comments