chore: replace default ubuntu archive in docker

This commit is contained in:
Umut
2023-01-13 12:28:10 +01:00
parent 9976299f71
commit 2372ffe85c
3 changed files with 10 additions and 1 deletions

View File

@@ -3,6 +3,10 @@ FROM ubuntu:20.04
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Replace default archive.ubuntu.com with fr mirror
# original archive showed performance issues and is farther away
RUN sed -i 's|^deb http://archive|deb http://fr.archive|g' /etc/apt/sources.list
COPY ./script/make_utils/setup_os_deps.sh ./setup_os_deps.sh
RUN ./setup_os_deps.sh --linux-install-python && rm ./setup_os_deps.sh