Skip to content

Commit 58a19ce

Browse files
author
Adam Miskiewicz
committed
Make sure Docker is installed in CircleCI deploy process
1 parent c33f7f8 commit 58a19ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@ jobs:
1616
- run: yarn # install root deps
1717
- run: ./scripts/test.sh # run tests
1818
- setup_remote_docker
19+
docker_layer_caching: true # (3)
1920
- deploy:
2021
command: |
22+
set -x
23+
VER="17.03.0-ce"
24+
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz
25+
tar -xz -C /tmp -f /tmp/docker-$VER.tgz
26+
mv /tmp/docker/* /usr/bin
27+
2128
if [ "${CIRCLE_BRANCH}" == "master" ]; then
2229
# deploy website
2330
cd website && yarn && cd ../

0 commit comments

Comments
 (0)