Skip to content
Snippets Groups Projects
Commit ac6a12bf authored by jurgenhaas's avatar jurgenhaas
Browse files

l3d#46 Add container for PHP 7.4

parent 29e93565
No related branches found
Tags v1.6.1
No related merge requests found
Pipeline #28246 passed
......@@ -35,3 +35,11 @@ php-7.3:
- docker push $CI_REGISTRY_IMAGE:php-7.3
only:
- master
php-7.4:
stage: build
script:
- docker build --pull --build-arg ALPINE_VERSION=3.11 --build-arg PHP_VERSION=7.4 --build-arg VERSION=${VERSION} -t $CI_REGISTRY_IMAGE:php-7.4 .
- docker push $CI_REGISTRY_IMAGE:php-7.4
only:
- master
v1.5.0 2020-10-15
-----------------
Add container for PHP 7.4
v1.4.4 2020-05-22
-----------------
Take different approach to fix iconv() notices
......
......@@ -97,6 +97,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
if [ "${PHP_VERSION}" = "7.3" ]; then \
apk add --no-cache php7-sodium gnu-libiconv ; \
fi && \
if [ "${PHP_VERSION}" = "7.4" ]; then \
apk add --no-cache php7-sodium gnu-libiconv ; \
fi && \
rm /etc/apk/repositories && \
mv /etc/apk/repositories.org /etc/apk/repositories && \
apk update && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment