Skip to content

Commit

Permalink
[CI] Php 7.2 as default version for Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
François GERBES committed May 18, 2018
1 parent 96730ee commit 6f0cb9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/dockerfile.jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
&& apt-get install --no-install-recommends -y dnsutils vim-nox\
&& apt-get autoremove -y && apt-get clean

ARG PHPVER=7.1
ARG PHPVER=7.2
RUN echo "deb http://ftp.debian.org/debian $(lsb_release -sc)-backports main" >> /etc/apt/sources.list \
&& apt-get update \
&& 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 --no-install-recommends -y php${PHPVER} php${PHPVER}-cli php${PHPVER}-pgsql php${PHPVER}-mysql php${PHPVER}-curl php${PHPVER}-json php${PHPVER}-gd php${PHPVER}-mcrypt php${PHPVER}-intl php${PHPVER}-sqlite3 php${PHPVER}-gmp php${PHPVER}-geoip php${PHPVER}-mbstring php${PHPVER}-redis php${PHPVER}-xml php${PHPVER}-zip php${PHPVER}-xdebug \
&& apt-get install --no-install-recommends -y php${PHPVER} php${PHPVER}-cli php${PHPVER}-pgsql php${PHPVER}-mysql php${PHPVER}-curl php${PHPVER}-json php${PHPVER}-gd php${PHPVER}-intl php${PHPVER}-sqlite3 php${PHPVER}-gmp php${PHPVER}-geoip php${PHPVER}-mbstring php${PHPVER}-redis php${PHPVER}-xml php${PHPVER}-zip php${PHPVER}-xdebug \
&& apt-get install --no-install-recommends -y php${PHPVER}-xdebug \
&& apt-get autoremove -y && apt-get clean

Expand Down

0 comments on commit 6f0cb9e

Please sign in to comment.