fixed Dockerfile.dev-go-centos7
This commit is contained in:
parent
1d2d7f96cd
commit
c21f86a69f
@ -1,5 +1,5 @@
|
|||||||
FROM centos:centos7.9.2009
|
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 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
|
||||||
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh
|
RUN echo 'PATH=$PATH:/opt/go/bin' > /etc/profile.d/go.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user