Skip to content

Commit

Permalink
debian-stretch が archive へ移動したため sources.list を修正
Browse files Browse the repository at this point in the history
archive.debian.org は遅いので cloudfront の mirror を使用する
  • Loading branch information
nanasess committed Sep 16, 2023
1 parent 3eefb25 commit 16a0545
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ ARG FORCE_YES="--force-yes"
RUN if [ ! -d /usr/share/man/man1 ]; then mkdir /usr/share/man/man1; fi
RUN if [ ! -d /usr/share/man/man7 ]; then mkdir /usr/share/man/man7; fi

RUN sed -i s,deb.debian.org,cloudfront.debian.net/debian-archive,g /etc/apt/sources.list
RUN sed -i 's,security.debian.org,cloudfront.debian.net/debian-archive,g' /etc/apt/sources.list
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list

# ext-gd: libfreetype6-dev libjpeg62-turbo-dev libpng-dev
# ext-pgsql: libpq-dev
# ext-zip: libzip-dev zlib1g-dev
Expand Down

0 comments on commit 16a0545

Please sign in to comment.