mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
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.
This commit is contained in:
committed by
GitHub
parent
424045835c
commit
9b5ddef598
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user