added Dockerfile to install go1.23.1
This commit is contained in:
parent
b36b9bf5a0
commit
9dc83f4072
5
docker-images/Dockerfile.dev-go123-centos7
Normal file
5
docker-images/Dockerfile.dev-go123-centos7
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM hyunghwan/dev:go1.20.6.centos7
|
||||||
|
|
||||||
|
|
||||||
|
RUN ulimit -n 1024 && cd /opt && rm -rf go && wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz && tar -zxvf go1.23.1.linux-amd64.tar.gz && rm -f go1.23.1.linux-amd64.tar.gz
|
||||||
|
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh
|
3
docker-images/Dockerfile.dev-go123-rocky9
Normal file
3
docker-images/Dockerfile.dev-go123-rocky9
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM docker.io/hyunghwan/dev:gcc.rocky9
|
||||||
|
RUN ulimit -n 1024 && dnf -y install wget git && wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz && tar -C /opt -zxvf go1.23.1.linux-amd64.tar.gz && rm -f go1.23.1.linux-amd64.tar.gz
|
||||||
|
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh
|
Loading…
Reference in New Issue
Block a user