Dockerfile wget
This commit is contained in:
parent
93e71d7800
commit
102cf582f0
|
@ -2,7 +2,7 @@ FROM bitnami/git:latest
|
||||||
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y vim nano curl wget
|
RUN apt install -y vim nano curl wget
|
||||||
RUN wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
|
RUN wget --no-check-certificate https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
|
||||||
RUN tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
|
RUN tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
|
||||||
ENV PATH=$PATH:/usr/local/go/bin
|
ENV PATH=$PATH:/usr/local/go/bin
|
||||||
RUN go version
|
RUN go version
|
||||||
|
|
Loading…
Reference in New Issue