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

l3d#46 Install gnu-libiconv only for PHP 7.3 or higher

parent d2140f25
Pipeline #28249 passed with stage
in 1 minute and 41 seconds
......@@ -50,7 +50,13 @@ 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 gnu-libiconv && \
apk add --no-cache mdocml-apropos openssh wget make patch bash fish python3 git git-lfs unzip acl libpng-dev libzip-dev && \
if [ "${PHP_VERSION}" = "7.3" ]; then \
apk add --no-cache gnu-libiconv ; \
fi && \
if [ "${PHP_VERSION}" = "7.4" ]; then \
apk add --no-cache gnu-libiconv ; \
fi && \
\
wget -q https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -O /etc/apk/keys/sgerrand.rsa.pub && \
wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${glibc_version}/glibc-${glibc_version}.apk && \
......
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