aboutsummaryrefslogtreecommitdiff
path: root/RELEASING.md
diff options
context:
space:
mode:
authorKun Zhang <zhangkun@google.com>2016-01-22 15:32:04 -0800
committerKun Zhang <zhangkun@google.com>2016-01-22 15:42:29 -0800
commit2bd0887db3798c2f10f08d9f2939c4cb563e1b18 (patch)
treedba87b0388c8e5f7d6e3183ac9450bd5e3e59400 /RELEASING.md
parent4aee912bce54db7b910b9a9acc509c8d247aa8ae (diff)
downloadgrpc-grpc-java-2bd0887db3798c2f10f08d9f2939c4cb563e1b18.tar.gz
Use `docker cp` to copy files to docker containers.
`scp` won't work anymore on google workstations.
Diffstat (limited to 'RELEASING.md')
-rw-r--r--RELEASING.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/RELEASING.md b/RELEASING.md
index afc153465..d6fbdb50c 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -126,13 +126,15 @@ system. Make sure to have at least version 1.7.1 or later.
made (e.g., copied configuration files) will be lost. If you want to keep the
container, remove `--rm=true` from the command line.
4. Next, you'll need to copy your OSSRH credentials and GnuPG keys to your docker container.
- Run `ifconfig` in the host, find the IP address of the `docker0` interface.
- Then in Docker:
-
- ```bash
- $ scp -r <your-host-user>@<docker0-IP>:./.gnupg ~/
- $ mkdir ~/.gradle
- $ scp -r <your-host-user>@<docker0-IP>:./.gradle/gradle.properties ~/.gradle
+ In Docker:
+ ```
+ # mkdir /root/.gradle
+ ```
+ Find the container ID in your bash prompt, which is shown as `[root@<container-ID> ...]`.
+ In host:
+ ```
+ $ docker cp ~/.gnupg <container-ID>:/root/
+ $ docker cp ~/.gradle/gradle.properties <container-ID>:/root/.gradle/
```
You'll also need to update `signing.secretKeyRingFile` in