Fix Dockerfile to resolve Alpine package installation issues

This commit is contained in:
2025-05-31 18:08:44 +00:00
parent f61df12e5d
commit 4d0512533f

View File

@ -1,11 +1,12 @@
ARG BUILD_FROM ARG BUILD_FROM=alpine:3.18
FROM $BUILD_FROM FROM $BUILD_FROM
# Set shell # Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required packages # Install required packages
RUN apk add --no-cache \ RUN apk update && \
apk add --no-cache \
python3 \ python3 \
py3-pip \ py3-pip \
py3-wheel \ py3-wheel \