Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
docker
PHP
Commits
feebbf30
Commit
feebbf30
authored
Jun 27, 2020
by
Ludwig Ruderstaller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing 8.0 build
parent
2a028465
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
40 additions
and
55 deletions
+40
-55
dist/7.1/cli/Dockerfile
dist/7.1/cli/Dockerfile
+4
-5
dist/7.1/fpm/Dockerfile
dist/7.1/fpm/Dockerfile
+4
-5
dist/7.2/cli/Dockerfile
dist/7.2/cli/Dockerfile
+4
-5
dist/7.2/fpm/Dockerfile
dist/7.2/fpm/Dockerfile
+4
-5
dist/7.3/cli/Dockerfile
dist/7.3/cli/Dockerfile
+4
-5
dist/7.3/fpm/Dockerfile
dist/7.3/fpm/Dockerfile
+4
-5
dist/7.4/cli/Dockerfile
dist/7.4/cli/Dockerfile
+4
-5
dist/7.4/fpm/Dockerfile
dist/7.4/fpm/Dockerfile
+4
-5
dist/8.0/cli/Dockerfile
dist/8.0/cli/Dockerfile
+2
-7
dist/8.0/fpm/Dockerfile
dist/8.0/fpm/Dockerfile
+2
-7
templates/Dockerfile-cli.twig
templates/Dockerfile-cli.twig
+4
-1
No files found.
dist/7.1/cli/Dockerfile
View file @
feebbf30
...
...
@@ -35,11 +35,10 @@ RUN set -xe \
libmcrypt-dev \
libmcrypt \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -65,8 +64,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
mcrypt \
redis \
mcrypt \
&& pecl install mongodb \
...
...
dist/7.1/fpm/Dockerfile
View file @
feebbf30
...
...
@@ -35,11 +35,10 @@ RUN set -xe \
libmcrypt-dev \
libmcrypt \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -65,8 +64,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
mcrypt \
redis \
mcrypt \
&& pecl install mongodb \
...
...
dist/7.2/cli/Dockerfile
View file @
feebbf30
...
...
@@ -33,11 +33,10 @@ RUN set -xe \
postgresql-dev \
openssh-client \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -63,8 +62,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& pecl install mongodb \
...
...
dist/7.2/fpm/Dockerfile
View file @
feebbf30
...
...
@@ -33,11 +33,10 @@ RUN set -xe \
postgresql-dev \
openssh-client \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -63,8 +62,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& pecl install mongodb \
...
...
dist/7.3/cli/Dockerfile
View file @
feebbf30
...
...
@@ -34,11 +34,10 @@ RUN set -xe \
openssh-client \
libzip-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -64,8 +63,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& pecl install mongodb \
...
...
dist/7.3/fpm/Dockerfile
View file @
feebbf30
...
...
@@ -34,11 +34,10 @@ RUN set -xe \
openssh-client \
libzip-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
...
...
@@ -64,8 +63,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& pecl install mongodb \
...
...
dist/7.4/cli/Dockerfile
View file @
feebbf30
...
...
@@ -38,11 +38,10 @@ RUN set -xe \
libgcrypt-dev \
oniguruma-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
...
...
@@ -65,8 +64,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& apk del .build-deps \
...
...
dist/7.4/fpm/Dockerfile
View file @
feebbf30
...
...
@@ -38,11 +38,10 @@ RUN set -xe \
libgcrypt-dev \
oniguruma-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
...
...
@@ -65,8 +64,8 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
redis \
&& docker-php-ext-install sodium \
&& apk del .build-deps \
...
...
dist/8.0/cli/Dockerfile
View file @
feebbf30
...
...
@@ -38,11 +38,7 @@ RUN set -xe \
libgcrypt-dev \
oniguruma-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
...
...
@@ -64,8 +60,7 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
&& docker-php-ext-install sodium \
&& apk del .build-deps \
...
...
dist/8.0/fpm/Dockerfile
View file @
feebbf30
...
...
@@ -38,11 +38,7 @@ RUN set -xe \
libgcrypt-dev \
oniguruma-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
...
...
@@ -64,8 +60,7 @@ RUN set -xe \
simplexml \
soap \
bcmath \
redis \
&& docker-php-ext-install sodium \
&& apk del .build-deps \
...
...
templates/Dockerfile-cli.twig
View file @
feebbf30
...
...
@@ -44,10 +44,11 @@ RUN set -xe \
oniguruma-dev \
{%
endif
%}
&&
apk --update --no-cache add grep \
{%
if
not
isPHP80
%}
&&
mkdir -p /usr/src/php/ext/redis \
&&
curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&&
echo 'redis' >> /usr/src/php-available-exts \
{%
endif
%}
{%
if
not
isPHP74
%}
&&
docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
...
...
@@ -83,7 +84,9 @@ RUN set -xe \
simplexml \
soap \
bcmath \
{%
if
not
isPHP80
%}
redis \
{%
endif
%}
{%
if
not
isPHP72
and
not
isPHP73
and
not
isPHP74
%}
mcrypt \
{%
endif
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment