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

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

parent d2140f25
No related branches found
Tags v1.6.1
No related merge requests found
Pipeline #28249 passed
......@@ -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 && \
......
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