change the repository server

This commit is contained in:
Namhyeon Go 2022-01-06 17:34:52 +09:00
parent 53b9a34b70
commit 5dee1ef236
6 changed files with 18 additions and 0 deletions

3
5.2/Dockerfile generated
View File

@ -7,6 +7,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \

View File

@ -7,6 +7,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \

3
6.0/Dockerfile generated
View File

@ -7,6 +7,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \

View File

@ -7,6 +7,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \

View File

@ -7,6 +7,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \

View File

@ -1,6 +1,9 @@
FROM debian:bullseye-slim
RUN set -eux; \
# change the repository server
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
sed -i 's/security.debian.org/repo.catswords.com\/debian-security/g' /etc/apt/sources.list; \
# add backports for (potentially) newer QEMU firmware packages
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
echo "deb http://deb.debian.org/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \