Uses the alpine packages instead of the pip repository

Switches to apk to install toml, numpy and the prometheus_client library
parent 73ec549f
Pipeline #107136507 passed with stages
in 3 minutes and 21 seconds
......@@ -6,7 +6,8 @@ WORKDIR /app
COPY src/ /app
RUN apk --no-cache upgrade && \
apk add --no-cache python3 python3-dev gcc musl-dev libffi-dev make && \
apk add --no-cache python3 py3-toml py3-numpy py3-prometheus-client && \
apk add --no-cache python3-dev gcc musl-dev libffi-dev make && \
pip3 install --no-cache-dir -r requirements.txt && \
apk del --no-cache --purge python3-dev gcc musl-dev libffi-dev make
......
pbkdf2
prometheus_client==0.7.1
prometheus_client>=0.7.1
pygelf
stellar-base==1.1.2.0
stellar-sdk==2.1.0
toml==0.10.0
toml>=0.10.0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment