Fix Dockerfile to resolve Alpine package installation issues
This commit is contained in:
@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user