Skip to content

Commit 5233afb

Browse files
committed
cleaner
Signed-off-by: Pascal Andy <pascal@firepress.org>
1 parent 9f259b7 commit 5233afb

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

traefik_stack5/README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,10 @@ ENV_MONOREPO="traefik_stack5"
1616
# On play-with-docker, install common apps
1717
apk update && apk upgrade && apk add --no-cache \
1818
nano bash git curl wget unzip openssl tar ca-certificates && \
19-
20-
# On play-with-docker, clean up
2119
rm -rf /var/cache/apk/* /tmp* && \
22-
23-
# On play-with-docker, create Swarm manager
2420
docker swarm init --advertise-addr $(hostname -i) && \
25-
26-
# On play-with-docker, clone repo
2721
git clone https://github.com/pascalandy/docker-stack-this.git && \
28-
cd docker-stack-this && sleep 2 && \
22+
cd docker-stack-this && \
2923
git checkout ${ENV_BRANCH} && \
3024
cd ${ENV_MONOREPO} && \
3125
./runup.sh;
@@ -40,20 +34,13 @@ ENV_MONOREPO="traefik_stack5"
4034
# On play-with-docker, install common apps
4135
apk update && apk upgrade && apk add --no-cache \
4236
nano bash git curl wget unzip openssl tar ca-certificates && \
43-
44-
# On play-with-docker, clean up
4537
rm -rf /var/cache/apk/* /tmp* && \
46-
47-
# On play-with-docker, create Swarm manager
4838
docker swarm init --advertise-addr $(hostname -i) && \
49-
50-
# On play-with-docker, clone repo
5139
git clone https://github.com/pascalandy/docker-stack-this.git && \
52-
cd docker-stack-this && sleep 2 && \
40+
cd docker-stack-this && \
5341
git checkout ${ENV_BRANCH} && \
5442
cd ${ENV_MONOREPO} && \
5543
./runup.sh;
56-
5744
```
5845

5946
This will run `play-with-docker-setup.sh` and `runup.sh`. These scripts will do the hard of deploying the stacks for us.

0 commit comments

Comments
 (0)