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

l3d#34 Add support for PHP 7.3

parent bf9af4c0
No related branches found
No related tags found
No related merge requests found
Pipeline #12154 passed
......@@ -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 && \
......
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