mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
chore: replace default ubuntu archive in docker
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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