Commit cd40bc40 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

l3d#34 Add support for PHP 7.3

parent bf9af4c0
Pipeline #12154 passed with stage
in 1 minute and 29 seconds
......@@ -24,3 +24,11 @@ php-7.2:
- docker push $CI_REGISTRY_IMAGE:php-7.2
only:
- master
php-7.3:
stage: build
script:
- docker build --pull --build-arg ALPINE_VERSION=3.11 --build-arg PHP_VERSION=7.3 -t $CI_REGISTRY_IMAGE:php-7.3 .
- docker push $CI_REGISTRY_IMAGE:php-7.3
only:
- master
FROM alpine:3.8
ARG ALPINE_VERSION
FROM alpine:${ALPINE_VERSION}
LABEL com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
......@@ -87,6 +89,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
if [ "${PHP_VERSION}" = "7.2" ]; then \
apk add --no-cache php7-sodium ; \
fi && \
if [ "${PHP_VERSION}" = "7.3" ]; then \
apk add --no-cache php7-sodium ; \
fi && \
rm /etc/apk/repositories && \
mv /etc/apk/repositories.org /etc/apk/repositories && \
apk update && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment