From 2da7193048e2b257a54c0cd0d9c5cf70d8d8064a Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Sun, 12 Apr 2020 10:12:51 +0900 Subject: [PATCH 1/2] =?UTF-8?q?mirror=20(http://ftp.riken.jp/Linux/ubuntu)?= =?UTF-8?q?=20=E3=82=92=E4=BD=BF=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raspberry-pi/docker-conf/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/raspberry-pi/docker-conf/Dockerfile b/raspberry-pi/docker-conf/Dockerfile index 644b130..5a60526 100644 --- a/raspberry-pi/docker-conf/Dockerfile +++ b/raspberry-pi/docker-conf/Dockerfile @@ -1,5 +1,6 @@ FROM ubuntu:16.04 ENV DEBIAN_FRONTEND noninteractive +RUN sed -i.bak -r 's!http://(security|us.archive).ubuntu.com/ubuntu!http://ftp.riken.jp/Linux/ubuntu!' /etc/apt/sources.list RUN apt-get update --fix-missing && apt-get dist-upgrade -y && apt-get autoremove --purge -y \ && apt-get install --fix-missing -y \ gawk wget git-core diffstat unzip texinfo gcc-multilib \ From ddcf4b0a2221fd9451cb13cc91a75ce607712c8b Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Sun, 12 Apr 2020 10:23:12 +0900 Subject: [PATCH 2/2] =?UTF-8?q?mirror.txt=20=E3=82=92=E4=BD=BF=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raspberry-pi/docker-conf/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspberry-pi/docker-conf/Dockerfile b/raspberry-pi/docker-conf/Dockerfile index 5a60526..04610e0 100644 --- a/raspberry-pi/docker-conf/Dockerfile +++ b/raspberry-pi/docker-conf/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:16.04 ENV DEBIAN_FRONTEND noninteractive -RUN sed -i.bak -r 's!http://(security|us.archive).ubuntu.com/ubuntu!http://ftp.riken.jp/Linux/ubuntu!' /etc/apt/sources.list +RUN sed -i.bak -r 's!(deb|deb-src) \S+!\1 mirror://mirrors.ubuntu.com/mirrors.txt!' /etc/apt/sources.list RUN apt-get update --fix-missing && apt-get dist-upgrade -y && apt-get autoremove --purge -y \ && apt-get install --fix-missing -y \ gawk wget git-core diffstat unzip texinfo gcc-multilib \