mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-23 20:45:33 +03:00
Try to solve issue on Alpine build
This commit is contained in:
parent
67a4084e2e
commit
d4de420b03
@ -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
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user