diff --git a/Dockerfile b/Dockerfile index aa5de73..45c8e10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ ARG BASE_IMAGE=ubuntu:20.04 FROM $BASE_IMAGE AS build +RUN apt update -y && apt install -y gcc make wget software-properties-commo RUN add-apt-repository ppa:longsleep/golang-backports -RUN apt update -y && apt install -y gcc make wget golang-1.22 +RUN apt update +RUN apt install -y golang1.22-go #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