mirror of https://github.com/nicolargo/glances
chg: Dockerfile - attempt fix for alpine builds
parent
f6141bf8f3
commit
4843963bf5
|
@ -28,7 +28,9 @@ RUN apk add --no-cache \
|
|||
wireless-tools \
|
||||
smartmontools \
|
||||
iputils \
|
||||
tzdata
|
||||
tzdata \
|
||||
# Required for 'cryptography' dependency
|
||||
gcc libffi-dev openssl-dev cargo pkgconfig
|
||||
|
||||
##############################################################################
|
||||
# Install the dependencies beforehand to make them cacheable
|
||||
|
@ -36,8 +38,6 @@ RUN apk add --no-cache \
|
|||
FROM build as buildRequirements
|
||||
ARG PYTHON_VERSION
|
||||
|
||||
RUN pip3 install --no-cache-dir --user --upgrade pip
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install --no-cache-dir --user -r requirements.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue