Skip to content

Commit 129f1af

Browse files
committed
chore(mirrors): delete aliyun mirrors
1 parent b1ec70a commit 129f1af

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

rootfs/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ ENV AZCLI_VERSION=2.9.1 \
1414

1515
# This is a huge one-liner to optimize the Docker image layer.
1616
# We disable source repos to speed up apt-get update.
17-
RUN \
18-
sed -i -e 's/archive.ubuntu.com/mirrors.aliyun.com/' /etc/apt/sources.list && \
19-
export DEBIAN_FRONTEND=noninteractive && \
17+
RUN export DEBIAN_FRONTEND=noninteractive && \
2018
apt-get update && \
2119
apt-get upgrade -y --no-install-recommends && \
2220
apt-get install -y --no-install-recommends \
@@ -73,7 +71,6 @@ RUN \
7371
golang.org/x/lint \
7472
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION \
7573
&& pip3 install --disable-pip-version-check --no-cache-dir \
76-
-i https://mirrors.aliyun.com/pypi/simple/ \
7774
azure-cli==${AZCLI_VERSION} shyaml \
7875
&& apt-get purge --auto-remove -y libffi-dev python3-dev python3-pip \
7976
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)