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

#11 A support for PHP 8.1

parent 84c47934
No related branches found
No related tags found
No related merge requests found
Pipeline #408137 passed
......@@ -20,6 +20,8 @@ php:
PHP: '7.4'
- ALPINE: '3.12'
PHP: '8.0'
- ALPINE: '3.15'
PHP: '8.1'
script:
- docker build --pull --build-arg ALPINE_VERSION=${ALPINE} --build-arg PHP_MAJOR_VERSION=${PHP} --build-arg VERSION=${VERSION} -t $CI_REGISTRY_IMAGE:php-${PHP} .
- docker push $CI_REGISTRY_IMAGE:php-${PHP}
......
......@@ -54,6 +54,8 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
apk add --no-cache openssh wget make patch bash fish zsh python3 git git-lfs unzip acl libpng-dev libzip-dev sudo jq nano && \
if [ "${ALPINE_VERSION}" = "3.12" ]; then \
apk add --no-cache mandoc ; \
elif [ "${ALPINE_VERSION}" = "3.15" ]; then \
apk add --no-cache mandoc ; \
else \
apk add --no-cache mdocml-apropos ; \
fi && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment