From 9b5ddef598b0859a873695553cef0870a9c06b91 Mon Sep 17 00:00:00 2001 From: Andrea Giammarchi Date: Wed, 22 Feb 2023 23:26:21 +0100 Subject: [PATCH] Fix glibc error in alpine Docker image (#2126) There's an override error with latest alpine and various versions of glibc (including 2.35): https://github.com/sgerrand/alpine-pkg-glibc/issues/185 This MR proposes a workaround (tested on fly.io - it works) so that it's possible to have bun usable with minimal linux dependencies. --- dockerhub/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerhub/Dockerfile b/dockerhub/Dockerfile index e627217eac..984db49bc2 100644 --- a/dockerhub/Dockerfile +++ b/dockerhub/Dockerfile @@ -31,7 +31,7 @@ COPY --from=get /tmp/sgerrand.rsa.pub /etc/apk/keys COPY --from=get /tmp/glibc-${GLIBC_RELEASE}.apk /tmp # install glibc -RUN apk --no-cache add /tmp/glibc-${GLIBC_RELEASE}.apk && \ +RUN apk --no-cache --force-overwrite add /tmp/glibc-${GLIBC_RELEASE}.apk && \ # cleanup rm /etc/apk/keys/sgerrand.rsa.pub && \