Skip to content

Commit 7e0f49c

Browse files
Remove apt src disabling in Ubuntu Dockerfile, no longer needed
1 parent 1de3333 commit 7e0f49c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ ENV SHELLCHECK_VERSION=0.7.0
2424
# ref: https://launchpad.net/ubuntu/+archivemirrors
2525
ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu
2626

27-
# Disable src package source
28-
RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list
29-
3027
# Replace origin apt package site with the mirror site
3128
RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
3229
RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list

0 commit comments

Comments
 (0)