Skip to content

Commit 75a1044

Browse files
authored
Enable DOCKER_BUILDKIT in .travis.yml
1 parent 2bf345f commit 75a1044

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- stage: precommit
2828
name: "Pre-commit Check"
2929
script:
30+
- set -e
31+
- export DOCKER_BUILDKIT=1
3032
- docker build --target dev -t elasticdl:dev -f
3133
elasticdl/docker/Dockerfile .
3234
- docker run --rm -it -v $PWD:/work -w /work
@@ -35,6 +37,7 @@ jobs:
3537
name: "Tests"
3638
script:
3739
- set -e
40+
- export DOCKER_BUILDKIT=1
3841
# Set up Kubernetes environment
3942
- bash scripts/setup_k8s_env.sh
4043
- bash elasticdl/docker/build_all.sh

0 commit comments

Comments
 (0)