We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da68a1 commit b053ae3Copy full SHA for b053ae3
Dockerfile
@@ -5,8 +5,8 @@ COPY . /var/www
5
WORKDIR /var/www
6
7
RUN apt-get update
8
-RUN apt-get install -y zip unzip zlib1g-dev
9
-RUN docker-php-ext-install zip
+RUN then apt-get install -y zip unzip zlib1g-dev
+RUN if [[ `php-config --vernum` -ge 73000 ]]; then docker-php-ext-install zip; fi
10
RUN docker-php-ext-install pcntl
11
RUN curl -sS https://getcomposer.org/installer | php
12
RUN mv composer.phar /usr/local/bin/composer
0 commit comments