diff options
Diffstat (limited to 'grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile')
-rw-r--r-- | grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile b/grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile index 4c9e4804..b8c44f3f 100644 --- a/grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile +++ b/grpc/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile @@ -13,23 +13,24 @@ # limitations under the License. # Docker file for building gRPC artifacts. -# Updated: 2020-10-08 +# Updated: 2021-08-23 ################## # Base -FROM dockcross/manylinux2010-x64 +FROM dockcross/manylinux2010-x64:20210210-84c47e5 # Install essential packages. -RUN yum -y install golang strace - +RUN yum -y install strace && yum clean all ################## # Ruby dependencies # Install rvm -RUN gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB -RUN \curl -sSL https://get.rvm.io | bash -s stable +RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - +RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - +# Use "--insecure" to avoid cert expiration error +RUN curl -sSL --insecure https://get.rvm.io | bash -s stable # Install Ruby 2.6 RUN /bin/bash -l -c "rvm install ruby-2.6" @@ -39,9 +40,6 @@ RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.6' >> ~/.bashrc" RUN /bin/bash -l -c "gem install bundler" -# Clean yum -RUN yum clean all - # Create default work directory. RUN mkdir /var/local/jenkins |