Try to solve issue on Alpine build

This commit is contained in:
nicolargo 2023-05-06 14:40:40 +02:00
parent 67a4084e2e
commit d4de420b03
2 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,7 @@
# Ex: Python 3.10 for Alpine 3.16
# Note: ENV is for future running containers. ARG for building your Docker image.
ARG IMAGE_VERSION=3.17
ARG IMAGE_VERSION=3.17.3
ARG PYTHON_VERSION=3.10
FROM alpine:${IMAGE_VERSION} as build
ARG PYTHON_VERSION
@ -28,9 +28,7 @@ RUN apk add --no-cache \
wireless-tools \
smartmontools \
iputils \
tzdata \
# Added for Cryptography (https://cryptography.io/en/latest/installation/#alpine)
gcc musl-dev libffi-dev openssl-dev cargo pkgconfig
tzdata
##############################################################################
# Install the dependencies beforehand to make them cacheable

View File

@ -8,6 +8,7 @@
# Ex: Python 3.10 for Ubuntu 22.04
# Note: ENV is for future running containers. ARG for building your Docker image.
# Image from CUDA https://hub.docker.com/r/nvidia/cuda/tags
ARG IMAGE_VERSION=12.1.1-base-ubuntu22.04
ARG PYTHON_VERSION=3.10
ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/