This commit is contained in:
		
							parent
							
								
									0729f4ee08
								
							
						
					
					
						commit
						5af1c4ffe3
					
				|  | @ -4,6 +4,12 @@ ARG GO_VERSION=1.23.1 | |||
| ARG GOLANGCI_LINT_VERSION=1.61.0 | ||||
| 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 && \ | ||||
|     apt-get update && \ | ||||
|     apt-get install -y --no-install-recommends upx && \ | ||||
|     apt-get clean && \ | ||||
|     rm -rf /var/lib/apt/lists/* | ||||
| 
 | ||||
| RUN wget -q https://studygolang.com/dl/golang/go${GO_VERSION}.linux-amd64.tar.gz && \ | ||||
|     rm -rf /usr/local/go && \ | ||||
|     tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && \ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user