Browse code

make docs better for scripts as well

Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Jessica Frazelle authored on 2016/01/28 08:57:24
Showing 1 changed files
... ...
@@ -16,19 +16,14 @@ docker build --rm --force-rm -t docker-dev:master .
16 16
 docker run --rm -it --privileged \
17 17
     -v /path/to/your/repos/dir:/volumes/repos \
18 18
     -v $HOME/.gnupg:/root/.gnupg \
19
+    -e GPG_PASSPHRASE \
19 20
     -e DOCKER_RELEASE_DIR=/volumes/repos \
20
-    docker-dev:master hack/make.sh clean-apt-repo clean-yum-repo
21
+    docker-dev:master hack/make.sh clean-apt-repo clean-yum-repo generate-index-listing sign-repos
21 22
 ```
22 23
 
23
-3. Re-sign the repo with your gpg key
24
+3. Upload the changed repos to `s3` (if you host on s3)
24 25
 
25
-```bash
26
-./hack/make/sign-repos
27
-```
28
-
29
-4. Upload the changed repos to `s3` (if you host on s3)
30
-
31
-5. Purge the cache, PURGE the cache, PURGE THE CACHE!
26
+4. Purge the cache, PURGE the cache, PURGE THE CACHE!
32 27
 
33 28
 ### How to get out of a sticky situation
34 29
 
... ...
@@ -48,7 +43,13 @@ Otherwise CELEBRATE!
48 48
 Re-sign the repo with your gpg key:
49 49
 
50 50
 ```bash
51
-./hack/make/sign-repos
51
+docker build --rm --force-rm -t docker-dev:master .
52
+docker run --rm -it --privileged \
53
+    -v /path/to/your/repos/dir:/volumes/repos \
54
+    -v $HOME/.gnupg:/root/.gnupg \
55
+    -e GPG_PASSPHRASE \
56
+    -e DOCKER_RELEASE_DIR=/volumes/repos \
57
+    docker-dev:master hack/make.sh sign-repos
52 58
 ```
53 59
 
54 60
 Upload the changed repo to `s3` (if that is where you host)
... ...
@@ -63,16 +64,11 @@ docker build --rm --force-rm -t docker-dev:master .
63 63
 docker run --rm -it --privileged \
64 64
     -v /path/to/your/repos/dir:/volumes/repos \
65 65
     -v $HOME/.gnupg:/root/.gnupg \
66
+    -e GPG_PASSPHRASE \
66 67
     -e DOCKER_RELEASE_DIR=/volumes/repos \
67
-    docker-dev:master hack/make.sh update-apt-repo
68
+    docker-dev:master hack/make.sh update-apt-repo generate-index-listing sign-repos
68 69
 ```
69 70
 
70
-Re-sign the repo with your gpg key:
71
-
72
-```bash
73
-./hack/make/sign-repos
74
-```
75
-
76
-Upload the changed repo to `s3` (if that is where you host)
71
+4. Upload the changed repo to `s3` (if that is where you host)
77 72
 
78 73
 PURGE THE CACHE.