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

Re-link /usr/glibc-compat/lib/libc.so.6

parent 0385feb7
No related branches found
No related tags found
No related merge requests found
Pipeline #5629 passed
......@@ -8,7 +8,7 @@ LABEL com.example.vendor="PARAGON Executive Service GmbH" \
ARG compose_version=1.21.2
RUN apk update && \
apk add --no-cache curl openssl openssh ca-certificates wget make libgcc && \
apk add --no-cache curl openssl openssh ca-certificates wget make && \
\
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/2.28-r0/glibc-2.28-r0.apk && \
......@@ -16,6 +16,15 @@ RUN apk update && \
rm glibc-2.28-r0.apk && \
ln -s /lib/libz.so.1 /usr/glibc-compat/lib/ && \
ln -s /lib/libc.musl-x86_64.so.1 /usr/glibc-compat/lib && \
rm /usr/glibc-compat/lib/libc.so.6 && \
ln -s /usr/lib/libgcc_s.so.1 /usr/glibc-compat/lib/libc.so.6 && \
\
#wget https://www.archlinux.org/packages/core/x86_64/zlib/download -O /tmp/libz.tar.xz && \
#mkdir -p /tmp/libz && \
#tar -xf /tmp/libz.tar.xz -C /tmp/libz && \
#cp /tmp/libz/usr/lib/libz.so.1.2.11 /usr/glibc-compat/lib && \
#/usr/glibc-compat/sbin/ldconfig && \
#rm -rf /tmp/libz /tmp/libz.tar.xz && \
\
apk add --no-cache bash python nodejs npm git unzip \
php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl \
......
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