Update docker used for CI builds

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-01-16 18:06:27 +00:00
parent f4f7af042d
commit 9dc9e0704b

View File

@ -1,20 +1,19 @@
--- ---
defaults: &defaults defaults: &defaults
docker: docker:
- image: library/docker:17.06.0-ce - image: library/docker:19-git
working_directory: /tmp/build working_directory: /tmp/build
steps: steps:
- setup_remote_docker: - setup_remote_docker:
version: 17.06.0-ce version: 18.09.3
docker_layer_caching: true docker_layer_caching: true
- run: - run:
name: Check docker is running and install git name: Check docker is running and install git
command: | command: |
docker info docker info
apk update && apk upgrade && apk add --nocache \ apk update && apk upgrade && apk add --no-cache \
make \ make \
jq \ jq \
git \
bash \ bash \
grep \ grep \
nodejs \ nodejs \
@ -26,7 +25,7 @@ defaults: &defaults
working_directory: /tmp/build/automation working_directory: /tmp/build/automation
command: | command: |
JOBS=max npm install \ JOBS=max npm install \
&& npm cache clean && npm cache clean --force
- run: - run:
name: Initialize the submodules (yocto layers) name: Initialize the submodules (yocto layers)
command: | command: |