Compare commits

...

2 Commits

Author SHA1 Message Date
chunghh
1424c21afc added gm2-fedora38 Dockerfile 2023-09-08 12:45:58 +09:00
chunghh
2fed03f7fb added docker files for go development images 2023-09-08 11:12:57 +09:00
4 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,5 @@
FROM fedora:38
RUN ulimit -n 1024 && dnf -y install make gcc-gm2 libgm2-static glibc-static libstdc++-static
##RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh

View File

@ -1,5 +1,5 @@
FROM centos:centos7.9.2009
RUN ulimit -n 1024 && yum -y install wget make gcc && 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 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

View File

@ -0,0 +1,4 @@
FROM go:centos7
RUN ulimit -n 1024 && yum -y install libpcap-devel

View File

@ -1,3 +1,8 @@
build: go-centos7 go-centos7-big
publish: publish-go-centos7 publish-go-centos7-big
go-centos7:
docker build -t go:centos7 -f Dockerfile.$@ .
@ -6,3 +11,16 @@ publish-go-centos7:
docker push docker.io/hyunghwan/go:centos7
go-centos7-big:
docker build -t go:centos7-big -f Dockerfile.$@ .
publish-go-centos7-big:
docker tag go:centos7-big docker.io/hyunghwan/go:centos7-big
docker push docker.io/hyunghwan/go:centos7-big
gm2-fedora38:
docker build -t gm2:fedora38 -f Dockerfile.$@ .
publish-gm2-fedora38:
docker tag gm2:fedora38 docker.io/hyunghwan/gm2:fedora38
docker push docker.io/hyunghwan/gm2:fedora38