diff options
author | 2023-02-22 23:26:21 +0100 | |
---|---|---|
committer | 2023-02-22 14:26:21 -0800 | |
commit | 9b5ddef598b0859a873695553cef0870a9c06b91 (patch) | |
tree | c595daf9766399a9b05fb424109251437b031da9 /dockerhub | |
parent | 424045835c9e5cbaa02111fcbfeee7c3b5781e4a (diff) | |
download | bun-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/Dockerfile | 2 |
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 && \ |