6 lines
313 B
Docker
6 lines
313 B
Docker
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
|