test(ci): add slim docker build to azure (#4350)

This commit is contained in:
Michael Kriese 2019-08-23 08:51:50 +02:00 committed by Rhys Arkins
parent 5d56ab0fca
commit 747dcc404e

View file

@ -55,3 +55,21 @@ jobs:
steps: steps:
- template: .azure/steps.yml - template: .azure/steps.yml
- job: 'DockerSlim'
pool:
vmImage: ubuntu-16.04
steps:
- script: |
docker pull renovate/renovate:slim
displayName: Pull old slim renovate image as cache
- script: |
export DOCKER_BUILDKIT=1
docker build --cache-from renovate/renovate:slim -t renovate-test -f Dockerfile.slim .
displayName: Build slim renovate image
- script: |
docker run --rm -t renovate-test --version
displayName: Test slim renovate image