Skip to content

Commit

Permalink
fix(travis): build dockers without cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lyogev committed Apr 15, 2020
1 parent a879317 commit 82b20eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions scripts/docker-without-cache.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

docker build -t metorikku/spark --build-arg SPARK_VERSION=$SPARK_VERSION --build-arg HADOOP_VERSION=$HADOOP_VERSION -f docker/spark/Dockerfile docker/spark
docker build -t metorikku/hive:1 --build-arg HIVE_VERSION=$HIVE1_VERSION --build-arg HUDI_HIVE1_VERSION=$HUDI_HIVE1_VERSION -f docker/hive1/Dockerfile docker/hive1
docker build -t metorikku/hive --build-arg HIVE_VERSION=$HIVE_VERSION --build-arg HUDI_VERSION=$HUDI_VERSION -f docker/hive/Dockerfile docker/hive
docker build -t metorikku/metorikku -f docker/metorikku/Dockerfile .
2 changes: 1 addition & 1 deletion scripts/travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ travis_fold end "build"

travis_fold start "docker"
travis_time_start
./scripts/docker.sh
./scripts/docker-without-cache.sh
travis_time_finish
travis_fold end "docker"

Expand Down

0 comments on commit 82b20eb

Please sign in to comment.