github.com/klaytn/klaytn@v1.12.1/build/Dockerfile-go1.20.6-rpmbuild (about) 1 FROM centos:centos7 2 3 RUN curl https://dl.google.com/go/go1.20.6.linux-amd64.tar.gz | tar xzvf - -C /usr/local 4 RUN yum install -y make rpm-build git createrepo python3 gcc unzip 5 RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install && rm awscliv2.zip 6 ENV PATH=$PATH:/usr/local/go/bin 7 8 CMD ["/bin/sh"]