File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 \
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 \
You can’t perform that action at this time.
0 commit comments