updated some dockerfiles
This commit is contained in:
parent
b477d12b38
commit
1d2d7f96cd
4
docker-images/Dockerfile.dev-gcc-rocky9
Normal file
4
docker-images/Dockerfile.dev-gcc-rocky9
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
## rocky linux 9 image to use for building hawk
|
||||||
|
|
||||||
|
FROM docker.io/rockylinux:9
|
||||||
|
RUN ulimit -n 1024 && dnf -y install --enablerepo=devel mysql-devel libffi-devel rpm-build gcc gcc-c++
|
5
docker-images/Dockerfile.dev-go-centos7
Normal file
5
docker-images/Dockerfile.dev-go-centos7
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM centos:centos7.9.2009
|
||||||
|
|
||||||
|
|
||||||
|
RUN ulimit -n 1024 && yum -y install wget curl make gcc rpm-build git libcap-devel && cd /opt && 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
|
@ -1,5 +0,0 @@
|
|||||||
FROM centos:centos7.9.2009
|
|
||||||
|
|
||||||
|
|
||||||
RUN ulimit -n 1024 && yum -y install wget curl make gcc rpm-build git && cd /opt && 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
|
|
@ -1,4 +0,0 @@
|
|||||||
FROM go:centos7
|
|
||||||
|
|
||||||
|
|
||||||
RUN ulimit -n 1024 && yum -y install libpcap-devel
|
|
@ -1,26 +1,32 @@
|
|||||||
build: go-centos7 go-centos7-big
|
build: dev-go-centos7
|
||||||
|
|
||||||
publish: publish-go-centos7 publish-go-centos7-big
|
publish: publish-dev-go-centos7
|
||||||
|
|
||||||
|
|
||||||
go-centos7:
|
dev-go-centos7:
|
||||||
docker build -t go:centos7 -f Dockerfile.$@ .
|
docker build -t dev:go1.20.6.centos7 -f Dockerfile.$@ .
|
||||||
|
|
||||||
publish-go-centos7:
|
publish-dev-go-centos7:
|
||||||
docker tag go:centos7 docker.io/hyunghwan/go:centos7
|
docker tag dev:go1.20.6.centos7 docker.io/hyunghwan/dev:go1.20.6.centos7
|
||||||
docker push docker.io/hyunghwan/go:centos7
|
docker push docker.io/hyunghwan/dev:go1.20.6.centos7
|
||||||
|
|
||||||
|
dev-go-centos7-big:
|
||||||
|
docker build -t dev:go1.20.6.centos7.big -f Dockerfile.$@ .
|
||||||
|
|
||||||
go-centos7-big:
|
publish-dev-go-centos7-big:
|
||||||
docker build -t go:centos7-big -f Dockerfile.$@ .
|
docker tag dev:go1.20.6.centos7.big docker.io/hyunghwan/dev:go1.20.6.centos7.big
|
||||||
|
docker push docker.io/hyunghwan/dev:go1.20.6.centos7.big
|
||||||
|
|
||||||
publish-go-centos7-big:
|
dev-gm2-fedora38:
|
||||||
docker tag go:centos7-big docker.io/hyunghwan/go:centos7-big
|
docker build -t dev:gm2.fedora38 -f Dockerfile.$@ .
|
||||||
docker push docker.io/hyunghwan/go:centos7-big
|
|
||||||
|
|
||||||
gm2-fedora38:
|
publish-dev-gm2-fedora38:
|
||||||
docker build -t gm2:fedora38 -f Dockerfile.$@ .
|
docker tag dev:gm2.fedora38 docker.io/hyunghwan/dev:gm2.fedora38
|
||||||
|
docker push docker.io/hyunghwan/dev:gm2.fedora38
|
||||||
|
|
||||||
publish-gm2-fedora38:
|
dev-gcc-rocky9:
|
||||||
docker tag gm2:fedora38 docker.io/hyunghwan/gm2:fedora38
|
docker build -t dev:gcc.rocky9 -f Dockerfile.$@ .
|
||||||
docker push docker.io/hyunghwan/gm2:fedora38
|
|
||||||
|
publish-dev-gcc-rocky9:
|
||||||
|
docker tag dev:gcc.rocky9 docker.io/hyunghwan/dev:gcc.rocky9
|
||||||
|
docker push docker.io/hyunghwan/dev:gcc.rocky9
|
||||||
|
Loading…
Reference in New Issue
Block a user