added docker files for rocky9 dev images

This commit is contained in:
hyung-hwan 2024-01-04 10:42:39 +09:00
parent 67aceb134b
commit 59020ca444
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,4 @@
## rocky linux 9 image to use for building hawk
FROM docker.io/hyunghwan/dev:gcc.rocky9
RUN ulimit -n 1024 && dnf -y install --enablerepo=devel golang

View File

@ -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.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 echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh

View File

@ -30,6 +30,20 @@ publish-dev-gcc-rocky9:
docker tag dev:gcc.rocky9 docker.io/hyunghwan/dev:gcc.rocky9
docker push docker.io/hyunghwan/dev:gcc.rocky9
dev-go-rocky9:
docker build -t dev:go.rocky9 -f Dockerfile.$@ .
publish-dev-go-rocky9:
docker tag dev:go.rocky9 docker.io/hyunghwan/dev:go.rocky9
docker push docker.io/hyunghwan/dev:go.rocky9
dev-go120-rocky9:
docker build -t dev:go1.20.6.rocky9 -f Dockerfile.$@ .
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-gcc-centos6:
docker build -t dev:gcc.centos6 -f Dockerfile.$@ .