mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-29 15:44:13 +00:00
Update docker used for CI builds
Change-type: patch
This commit is contained in:
parent
f4f7af042d
commit
9dc9e0704b
@ -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: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user