added a docker file for go 1.24.2

This commit is contained in:
hyung-hwan 2025-04-14 16:10:47 +09:00
parent 9dc83f4072
commit e5230066c1
3 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,5 @@
## rocky linux 9 image to use for building hawk
## corosynclib-devel for antcmx
FROM docker.io/rockylinux:9
RUN ulimit -n 1024 && dnf -y install --enablerepo=devel mysql-devel libffi-devel rpm-build gcc gcc-c++
RUN ulimit -n 1024 && dnf --enablerepo=highavailability -y install --enablerepo=devel mysql-devel libffi-devel rpm-build gcc gcc-c++ corosynclib-devel

View 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.24.2.linux-amd64.tar.gz && tar -C /opt -zxvf go1.24.2.linux-amd64.tar.gz && rm -f go1.24.2.linux-amd64.tar.gz
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh

View File

@ -51,6 +51,20 @@ 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-go123-rocky9:
docker build -t dev:go1.23.1.rocky9 -f Dockerfile.$@ .
publish-dev-go123-rocky9:
docker tag dev:go1.23.1.rocky9 docker.io/hyunghwan/dev:go1.23.1.rocky9
docker push docker.io/hyunghwan/dev:go1.23.1.rocky9
dev-go124-rocky9:
docker build -t dev:go1.24.2.rocky9 -f Dockerfile.$@ .
publish-dev-go124-rocky9:
docker tag dev:go1.24.2.rocky9 docker.io/hyunghwan/dev:go1.24.2.rocky9
docker push docker.io/hyunghwan/dev:go1.24.2.rocky9
dev-gcc-centos6:
docker build -t dev:gcc.centos6 -f Dockerfile.$@ .