Skip to content
This repository was archived by the owner on Mar 15, 2019. It is now read-only.

Commit 91832e3

Browse files
author
Julien Neuhart
authored
minor refactoring of APCU version in Toolbox and PHP-FPM Dockerfiles (#22)
1 parent 4133308 commit 91832e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.docker/php-fpm/Dockerfile.blueprint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ RUN set -xe &&\
4646
# | Installs the APCu extension for PHP.
4747
# |
4848

49-
ENV APCU_VERSION v5.1.8
49+
ENV APCU_VERSION 5.1.8
5050

5151
RUN mkdir -p /usr/src/php/ext/apcu &&\
52-
curl -L https://github.com/krakjoe/apcu/archive/$APCU_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/apcu --strip 1 &&\
52+
curl -L https://github.com/krakjoe/apcu/archive/v$APCU_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/apcu --strip 1 &&\
5353
echo 'apcu' >> /usr/src/php-available-exts &&\
5454
docker-php-ext-install apcu
5555

.docker/toolbox/Dockerfile.blueprint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ RUN set -xe &&\
4646
# | Installs the APCu extension for PHP.
4747
# |
4848

49-
ENV APCU_VERSION v5.1.8
49+
ENV APCU_VERSION 5.1.8
5050

5151
RUN mkdir -p /usr/src/php/ext/apcu &&\
52-
curl -L https://github.com/krakjoe/apcu/archive/$APCU_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/apcu --strip 1 &&\
52+
curl -L https://github.com/krakjoe/apcu/archive/v$APCU_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/apcu --strip 1 &&\
5353
echo 'apcu' >> /usr/src/php-available-exts &&\
5454
docker-php-ext-install apcu
5555

0 commit comments

Comments
 (0)