playground/docker-images/Dockerfile.dev-go-centos7

6 lines
314 B
Docker
Raw Permalink Normal View History

2023-10-20 14:44:27 +00:00
FROM centos:centos7.9.2009
2023-10-20 14:51:47 +00:00
RUN ulimit -n 1024 && yum -y install wget curl make gcc rpm-build git libpcap-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
2023-10-20 14:44:27 +00:00
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh