diff --git a/docker-images/Dockerfile.dev-go120-rocky9 b/docker-images/Dockerfile.dev-go120-rocky9 index 30d88ae..0d4a31d 100644 --- a/docker-images/Dockerfile.dev-go120-rocky9 +++ b/docker-images/Dockerfile.dev-go120-rocky9 @@ -1,3 +1,3 @@ FROM docker.io/hyunghwan/dev:gcc.rocky9 -RUN ulimit -n 1024 && dnf -y install wget && wget https://go.dev/dl/go1.20.6.linux-amd64.tar.gz && tar -zxvf go1.20.6.linux-amd64.tar.gz && rm -f go1.20.6.linux-amd64.tar.gz +RUN ulimit -n 1024 && dnf -y install wget && wget https://go.dev/dl/go1.20.6.linux-amd64.tar.gz && tar -C /opt -zxvf go1.20.6.linux-amd64.tar.gz && rm -f go1.20.6.linux-amd64.tar.gz RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh diff --git a/docker-images/Dockerfile.dev-go122-rocky9 b/docker-images/Dockerfile.dev-go122-rocky9 new file mode 100644 index 0000000..de4fff4 --- /dev/null +++ b/docker-images/Dockerfile.dev-go122-rocky9 @@ -0,0 +1,3 @@ +FROM docker.io/hyunghwan/dev:gcc.rocky9 +RUN ulimit -n 1024 && dnf -y install wget && wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz && tar -C /opt -zxvf go1.22.0.linux-amd64.tar.gz && rm -f go1.22.0.linux-amd64.tar.gz +RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh diff --git a/docker-images/Makefile b/docker-images/Makefile index 2b227bc..73d5ec0 100644 --- a/docker-images/Makefile +++ b/docker-images/Makefile @@ -44,6 +44,13 @@ publish-dev-go120-rocky9: docker tag dev:go1.20.6.rocky9 docker.io/hyunghwan/dev:go1.20.6.rocky9 docker push docker.io/hyunghwan/dev:go1.20.6.rocky9 +dev-go122-rocky9: + docker build -t dev:go1.22.0.rocky9 -f Dockerfile.$@ . + +publish-dev-go122-rocky9: + docker tag dev:go1.22.0.rocky9 docker.io/hyunghwan/dev:go1.22.0.rocky9 + docker push docker.io/hyunghwan/dev:go1.22.0.rocky9 + dev-gcc-centos6: docker build -t dev:gcc.centos6 -f Dockerfile.$@ .