Skip to content

Commit 9b5ddef

Browse files
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.
1 parent 4240458 commit 9b5ddef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerhub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ COPY --from=get /tmp/sgerrand.rsa.pub /etc/apk/keys
3131
COPY --from=get /tmp/glibc-${GLIBC_RELEASE}.apk /tmp
3232

3333
# install glibc
34-
RUN apk --no-cache add /tmp/glibc-${GLIBC_RELEASE}.apk && \
34+
RUN apk --no-cache --force-overwrite add /tmp/glibc-${GLIBC_RELEASE}.apk && \
3535

3636
# cleanup
3737
rm /etc/apk/keys/sgerrand.rsa.pub && \

0 commit comments

Comments
 (0)