Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit 8d37a236 authored by Moul's avatar Moul
Browse files

[enh] Debian packages installation step into the same layer

- get apt lists and remove them in order to slim down the image
parent 535683ee
Pipeline #6698 passed with stage
in 6 minutes and 17 seconds
FROM python:3.5-slim-buster
# Install libsodium
RUN apt update
RUN apt install --yes libsodium23
RUN apt update && \
apt install --yes libsodium23 && \
rm -rf /var/lib/apt/lists
# Install Poetry
RUN pip3 install poetry --pre
FROM python:3.6-slim-buster
# Install libsodium
RUN apt update
RUN apt install --yes libsodium23
RUN apt update && \
apt install --yes libsodium23 && \
rm -rf /var/lib/apt/lists
# Install Poetry
RUN pip3 install poetry --pre
FROM python:3.7-slim-buster
# Install libsodium
RUN apt update
RUN apt install --yes libsodium23
RUN apt update && \
apt install --yes libsodium23 && \
rm -rf /var/lib/apt/lists
# Install Poetry
RUN pip3 install poetry --pre
FROM python:3.8-rc-slim-buster
# Install libsodium
RUN apt update
RUN apt install --yes libsodium23 libffi-dev gcc black
RUN apt update && \
apt install --yes libsodium23 libffi-dev gcc black && \
rm -rf /var/lib/apt/lists
# Install Poetry
RUN pip3 install poetry --pre
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