Skip to content

Commit

Permalink
fix: alpine/static build by upgrading muslcc image
Browse files Browse the repository at this point in the history
- upgrade muslcc alpine version to 3.20 (lts)
  • Loading branch information
faulpeltz committed Oct 18, 2024
1 parent 33ce4b0 commit 24a2cb4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ USER root:root

WORKDIR /root/pkg-fetch/

# HAXX upgrade alpine here because the muslcc image
# is built on an old image and no newer version is available
RUN sed -i -e 's/v3\.14/v3\.20/g' /etc/apk/repositories && \
apk update && \
apk add --upgrade apk-tools && \
apk upgrade --available

RUN apk add --no-cache build-base git linux-headers npm python3 yarn

# https://gitlab.alpinelinux.org/alpine/aports/-/issues/8626
Expand Down

0 comments on commit 24a2cb4

Please sign in to comment.