diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index da584e13f..9976db890 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -213,7 +213,8 @@ jobs: TZ=Europe/Paris echo "TZ=${TZ}" >> "$GITHUB_ENV" ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone - apt update && apt install git -y + sed -i 's|^deb http://archive|deb http://fr.archive|g' /etc/apt/sources.list + apt update && apt install git git-lfs -y - name: Checkout Code uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 664c011c8..99d099425 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -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 diff --git a/docker/Dockerfile.release b/docker/Dockerfile.release index 1d4c4d388..73cca3c59 100644 --- a/docker/Dockerfile.release +++ b/docker/Dockerfile.release @@ -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 + RUN mkdir /pkg && mkdir /app WORKDIR /pkg COPY docker/release_resources/release_requirements.txt .