Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
archlitchi authored Sep 18, 2024
1 parent 723556a commit 07da3e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
ARG BASE_IMAGE=ubuntu:20.04

FROM $BASE_IMAGE AS build
RUN apt update -y && apt install -y gcc make wget
ARG GO_VERSION=1.22.5
RUN wget https://golang.google.cn/dl/go$GO_VERSION.linux-arm64.tar.gz
RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go$GO_VERSION.linux-arm64.tar.gz
RUN add-apt-repository ppa:longsleep/golang-backports
RUN apt update -y && apt install -y gcc make wget golang-1.22
#ARG GO_VERSION=1.22.5
#RUN wget https://golang.google.cn/dl/go$GO_VERSION.linux-arm64.tar.gz
#RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go$GO_VERSION.linux-arm64.tar.gz
ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
ARG GOPROXY
ARG VERSION
Expand Down

0 comments on commit 07da3e2

Please sign in to comment.