[Dockerfile] Remove apt src disabling, no longer needed

Peter Dave Hello 2023-09-19 20:03:01 +08:00 committed by Jordan Harband
parent 1de3333651
commit d4a733e4d8
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 0 additions and 3 deletions

View File

@ -24,9 +24,6 @@ ENV SHELLCHECK_VERSION=0.7.0
# ref: https://launchpad.net/ubuntu/+archivemirrors # ref: https://launchpad.net/ubuntu/+archivemirrors
ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu
# Disable src package source
RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list
# Replace origin apt package site with the mirror site # Replace origin apt package site with the mirror site
RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list