fix: sources.list
All checks were successful
push / build (push) Successful in 51s

This commit is contained in:
张泊明518370910136 2024-11-06 18:02:34 -05:00
parent 5af1c4ffe3
commit ffc65e21ef
GPG Key ID: CA088E6D9284F870

View File

@ -4,7 +4,7 @@ ARG GO_VERSION=1.23.1
ARG GOLANGCI_LINT_VERSION=1.61.0 ARG GOLANGCI_LINT_VERSION=1.61.0
ENV PATH=$PATH:/usr/local/go/bin:/root/go/bin ENV PATH=$PATH:/usr/local/go/bin:/root/go/bin
RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list.d/debian.sources && \ RUN sed -i s@/archive.ubuntu.com/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list && \
apt-get update && \ apt-get update && \
apt-get install -y --no-install-recommends upx && \ apt-get install -y --no-install-recommends upx && \
apt-get clean && \ apt-get clean && \