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

l3d#77 Fix sudo issue with workaround

parent 2c0404f8
......@@ -56,13 +56,16 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
else \
apk add --no-cache mdocml-apropos ; \
fi && \
\
if [ "${PHP_MAJOR_VERSION}" = "7.2" ]; then \
echo "No libiconv to install" ; \
else \
apk add --no-cache gnu-libiconv ; \
fi && \
\
echo "Fix sudo bug, for details see https://github.com/sudo-project/sudo/issues/42" && \
echo "Set disable_coredump false" >> /etc/sudo.conf && \
\
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 && \
apk add --no-cache 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