Skip to content

Commit

Permalink
Merge pull request #86 from jglick/docker-gc
Browse files Browse the repository at this point in the history
[INFRA-2197] docker system prune --all --force
  • Loading branch information
jglick authored Aug 13, 2019
2 parents 38f6a13 + d86cd0b commit 70eee38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ pipeline {
stage('main') {
steps {
timeout(time: 1, unit: 'HOURS') {
sh 'docker version && DOCKER_BUILDKIT=1 docker build --progress plain --no-cache .'
sh '''
docker version
docker system prune --all --force
DOCKER_BUILDKIT=1 docker build --progress plain --no-cache .
'''
}
}
}
Expand Down

0 comments on commit 70eee38

Please sign in to comment.