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

l3d#77 Fix sudo issue with workaround

parent 2c0404f8
No related branches found
Tags v1.7.3
No related merge requests found
...@@ -56,13 +56,16 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \ ...@@ -56,13 +56,16 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
else \ else \
apk add --no-cache mdocml-apropos ; \ apk add --no-cache mdocml-apropos ; \
fi && \ fi && \
\
if [ "${PHP_MAJOR_VERSION}" = "7.2" ]; then \ if [ "${PHP_MAJOR_VERSION}" = "7.2" ]; then \
echo "No libiconv to install" ; \ echo "No libiconv to install" ; \
else \ else \
apk add --no-cache gnu-libiconv ; \ apk add --no-cache gnu-libiconv ; \
fi && \ 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://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 && \ 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 && \ apk add --no-cache 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