aboutsummaryrefslogtreecommitdiff
path: root/protoc-artifacts/README.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-03-28 16:58:47 -0700
committerEric Anderson <ejona@google.com>2018-03-28 17:24:07 -0700
commit5f052ae7ae8a757dd919e95e0f1481e08fef749b (patch)
tree8139d57ea3f3dffaee9d65c3a523f93f532403f5 /protoc-artifacts/README.md
parent7bf47a6b5d10382a4b427677cf7ca9288f4e2833 (diff)
downloadprotobuf-5f052ae7ae8a757dd919e95e0f1481e08fef749b.tar.gz
protobuf-5f052ae7ae8a757dd919e95e0f1481e08fef749b.tar.bz2
protobuf-5f052ae7ae8a757dd919e95e0f1481e08fef749b.zip
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.
Diffstat (limited to 'protoc-artifacts/README.md')
-rw-r--r--protoc-artifacts/README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/protoc-artifacts/README.md b/protoc-artifacts/README.md
index ba3ca018..d11cde5d 100644
--- a/protoc-artifacts/README.md
+++ b/protoc-artifacts/README.md
@@ -143,7 +143,11 @@ To run the image:
$ docker run -it --rm=true protoc-artifacts
```
-The Protobuf repository has been cloned into ``/protobuf``.
+To checkout protobuf (run within the container):
+```
+$ # Replace v3.5.1 with the version you want
+$ wget -O - https://github.com/google/protobuf/archive/v3.5.1.tar.gz | tar xvzp
+```
### Tips for deploying on Windows
Under Windows the following error may occur: ``gpg: cannot open tty `no tty':