Compare commits
2 Commits
6d3b2350cd
...
1424c21afc
Author | SHA1 | Date | |
---|---|---|---|
|
1424c21afc | ||
|
2fed03f7fb |
5
docker-images/Dockerfile.gm2-fedora38
Normal file
5
docker-images/Dockerfile.gm2-fedora38
Normal 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
|
@ -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
|
||||
|
4
docker-images/Dockerfile.go-centos7-big
Normal file
4
docker-images/Dockerfile.go-centos7-big
Normal file
@ -0,0 +1,4 @@
|
||||
FROM go:centos7
|
||||
|
||||
|
||||
RUN ulimit -n 1024 && yum -y install libpcap-devel
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user