aboutsummaryrefslogtreecommitdiff
path: root/dockerhub
diff options
context:
space:
mode:
authorGravatar Andrea Giammarchi <andrea.giammarchi@gmail.com> 2023-02-22 23:26:21 +0100
committerGravatar GitHub <noreply@github.com> 2023-02-22 14:26:21 -0800
commit9b5ddef598b0859a873695553cef0870a9c06b91 (patch)
treec595daf9766399a9b05fb424109251437b031da9 /dockerhub
parent424045835c9e5cbaa02111fcbfeee7c3b5781e4a (diff)
downloadbun-9b5ddef598b0859a873695553cef0870a9c06b91.tar.gz
bun-9b5ddef598b0859a873695553cef0870a9c06b91.tar.zst
bun-9b5ddef598b0859a873695553cef0870a9c06b91.zip
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.
Diffstat (limited to 'dockerhub')
-rw-r--r--dockerhub/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dockerhub/Dockerfile b/dockerhub/Dockerfile
index e627217ea..984db49bc 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 && \