Commit 113c4d61 authored by Jürgen Haas's avatar Jürgen Haas
Browse files
parent 7424c465
Pipeline #32545 passed with stage
in 1 minute and 40 seconds
......@@ -43,3 +43,11 @@ php-7.4:
- docker push $CI_REGISTRY_IMAGE:php-7.4
only:
- master
php-8.0:
stage: build
script:
- docker build --pull --build-arg ALPINE_VERSION=3.12 --build-arg PHP_MAJOR_VERSION=8.0 --build-arg VERSION=${VERSION} -t $CI_REGISTRY_IMAGE:php-8.0 .
- docker push $CI_REGISTRY_IMAGE:php-8.0
only:
- master
......@@ -50,11 +50,16 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
echo "StrictHostKeyChecking no" >> /root/.ssh/config && \
\
apk update && \
apk add --no-cache mdocml-apropos openssh wget make patch bash fish python3 git git-lfs unzip acl libpng-dev libzip-dev sudo && \
if [ "${PHP_MAJOR_VERSION}" = "7.3" ]; then \
apk add --no-cache gnu-libiconv ; \
apk add --no-cache openssh wget make patch bash fish python3 git git-lfs unzip acl libpng-dev libzip-dev sudo && \
if [ "${ALPINE_VERSION}" = "3.12" ]; then \
apk add --no-cache mandoc ; \
else \
apk add --no-cache mdocml-apropos ; \
fi && \
if [ "${PHP_MAJOR_VERSION}" = "7.4" ]; then \
if [ "${PHP_MAJOR_VERSION}" = "7.2" ]; then \
echo "No libiconv to install" ; \
else \
apk add --no-cache gnu-libiconv ; \
fi && \
\
......
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