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 07da3e2 commit a90141c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a90141c

Please sign in to comment.