mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
chore: replace default ubuntu archive in docker
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user