Fix repository error on debian:bullseye-slim
Fix repository error on latest debian:bullseye-slim base image
This commit is contained in:
parent
e9e04b85a2
commit
fc4e82bdb8
2
6.1/Dockerfile
generated
2
6.1/Dockerfile
generated
|
@ -9,7 +9,7 @@ FROM debian:bullseye-slim
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
# change the repository server
|
# change the repository server
|
||||||
sed -i 's/deb.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
|
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; \
|
sed -i 's/security.debian.org/repo.catswords.com/g' /etc/apt/sources.list; \
|
||||||
# add backports for (potentially) newer QEMU firmware packages
|
# add backports for (potentially) newer QEMU firmware packages
|
||||||
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
|
suite="$(awk '$1 == "deb" { print $3; exit }' /etc/apt/sources.list)"; \
|
||||||
echo "deb http://repo.catswords.com/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \
|
echo "deb http://repo.catswords.com/debian $suite-backports main" > /etc/apt/sources.list.d/backports.list; \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user