Skip to content

Commit

Permalink
server with php7.2
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Mar 11, 2022
1 parent e346438 commit 04756fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ FROM debian:stable

# Update repos install packages and cleanup
# all in one step so we avoid large intermediate layers.
RUN apt-get update && \
RUN apt-get update && \
apt-get install -y wget gnupg2 git libzip4 apt-transport-https lsb-release ca-certificates && \
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \
apt-get update && \
apt-get install -y php7.4-cli php7.4-common php7.4-mbstring \
php7.4-gd php7.4-imagick php7.4-intl php7.4-bz2 php7.4-xml \
php7.4-mysql php7.4-zip php7.4-dev curl php7.4-curl \
php-dompdf php7.4-apcu redis-server php7.4-redis php7.4-smbclient \
php7.4-ldap unzip php7.4-pgsql php7.4-sqlite make apache2 \
php7.4-json php7.4-opcache libmagickcore-6.q16-2-extra \
libapache2-mod-php7.4 && \
apt-get install -y php7.2-cli php7.2-common php7.2-mbstring \
php7.2-gd php7.2-imagick php7.2-intl php7.2-bz2 php7.2-xml \
php7.2-mysql php7.2-zip php7.2-dev curl php7.2-curl \
php-dompdf php7.2-apcu redis-server php7.2-redis php7.2-smbclient \
php7.2-ldap unzip php7.2-pgsql php7.2-sqlite make apache2 \
php7.2-json php7.2-opcache libmagickcore-6.q16-2-extra \
libapache2-mod-php7.2 && \
apt-get autoremove -y && apt-get autoclean && apt-get clean && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

Expand Down

0 comments on commit 04756fd

Please sign in to comment.