From 8bdbb39353688ae7250545f76c5c51ee5519b3cb Mon Sep 17 00:00:00 2001 From: xinlingchao Date: Sep 10 2021 07:32:16 +0000 Subject: Added missing gcc --- diff --git a/centos7/Dockerfile b/centos7/Dockerfile index 8fca5b7..0dd6030 100644 --- a/centos7/Dockerfile +++ b/centos7/Dockerfile @@ -1,7 +1,7 @@ FROM centos:7 RUN yum -y update -RUN yum install git -y && yum clean all +RUN yum install gcc git -y && yum clean all ENV GO_VERSION 1.17.1 RUN curl -L https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz -o go$GO_VERSION.linux-amd64.tar.gz && tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz && rm -f go$GO_VERSION.linux-amd64.tar.gz ENV PATH /usr/local/go/bin:$PATH