update
This commit is contained in:
parent
97a0ab687c
commit
36a8e795d9
@ -39,9 +39,13 @@ RUN case "${BUILD_ARCH}" in \
|
|||||||
chmod +x /etc/cont-init.d/promtail_setup.sh; \
|
chmod +x /etc/cont-init.d/promtail_setup.sh; \
|
||||||
chmod +x /etc/services.d/promtail/*;
|
chmod +x /etc/services.d/promtail/*;
|
||||||
|
|
||||||
# Install necessary packages and glibc compatibility layer
|
# Install necessary packages
|
||||||
RUN apk add --no-cache curl tar unzip && \
|
RUN apk add --no-cache curl tar unzip && \
|
||||||
|
# Remove nsswitch.conf to avoid conflicts with glibc
|
||||||
|
rm -f /etc/nsswitch.conf && \
|
||||||
|
# Add the public key for sgerrand glibc packages
|
||||||
curl -Lo /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
|
curl -Lo /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
|
||||||
|
# Download and install glibc
|
||||||
curl -Lo glibc.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk && \
|
curl -Lo glibc.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk && \
|
||||||
apk add glibc.apk && \
|
apk add glibc.apk && \
|
||||||
rm glibc.apk
|
rm glibc.apk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user