From 5f052ae7ae8a757dd919e95e0f1481e08fef749b Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 28 Mar 2018 16:58:47 -0700 Subject: protoc-artifacts: Avoid checking out protobuf code It is a bad idea to check out code into the docker image, as it will be out-of-date. It is better to have the image just be the environment, and let any scripts that need source check them out themselves. This fixes #4419 in that it allows the image to build again, albeit users would need to use wget to grab the source of the version of protobuf they wish. --- protoc-artifacts/Dockerfile | 2 -- 1 file changed, 2 deletions(-) (limited to 'protoc-artifacts/Dockerfile') diff --git a/protoc-artifacts/Dockerfile b/protoc-artifacts/Dockerfile index 43e6863c..82cd97ec 100644 --- a/protoc-artifacts/Dockerfile +++ b/protoc-artifacts/Dockerfile @@ -35,7 +35,5 @@ RUN rpm --rebuilddb && yum install -y devtoolset-1.1 \ devtoolset-1.1-libstdc++-devel \ devtoolset-1.1-libstdc++-devel.i686 -RUN git clone --depth 1 https://github.com/google/protobuf.git - # Start in devtoolset environment that uses GCC 4.7 CMD ["scl", "enable", "devtoolset-1.1", "bash"] -- cgit v1.2.3