From 9dc83f4072352199d5d8a2145f4809baab2ab664 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 30 Sep 2024 17:59:10 +0900 Subject: [PATCH] added Dockerfile to install go1.23.1 --- docker-images/Dockerfile.dev-go123-centos7 | 5 +++++ docker-images/Dockerfile.dev-go123-rocky9 | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 docker-images/Dockerfile.dev-go123-centos7 create mode 100644 docker-images/Dockerfile.dev-go123-rocky9 diff --git a/docker-images/Dockerfile.dev-go123-centos7 b/docker-images/Dockerfile.dev-go123-centos7 new file mode 100644 index 0000000..3e7511b --- /dev/null +++ b/docker-images/Dockerfile.dev-go123-centos7 @@ -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 diff --git a/docker-images/Dockerfile.dev-go123-rocky9 b/docker-images/Dockerfile.dev-go123-rocky9 new file mode 100644 index 0000000..736ea85 --- /dev/null +++ b/docker-images/Dockerfile.dev-go123-rocky9 @@ -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