File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ if [ ! -f $DIKECLIENTJAR ]; then
2828fi
2929cp $DIKECLIENTJAR pushdown-datasource/lib
3030
31- # Bring in environment including ${ROOT_DIR} etc.
32- source ../spark/docker/setup.sh
33-
3431if [ " $# " -gt 0 ]; then
3532 if [ " $1 " == " -d" ]; then
3633 shift
@@ -44,7 +41,7 @@ if [ "$#" -gt 0 ]; then
4441 -v " ${ROOT_DIR} /build/.ivy2:${DOCKER_HOME_DIR} /.ivy2" \
4542 -u " ${USER_ID} " \
4643 --entrypoint /bin/bash -w /pushdown-datasource/pushdown-datasource\
47- spark-build-${USER_NAME}
44+ " v ${DIKE_VERSION} - spark-build-${USER_NAME} "
4845 fi
4946else
5047 echo " Building pushdown-datasource"
5855 -v " ${ROOT_DIR} /build/.ivy2:${DOCKER_HOME_DIR} /.ivy2" \
5956 -u " ${USER_ID} " \
6057 --entrypoint /pushdown-datasource/scripts/build.sh -w /pushdown-datasource/pushdown-datasource \
61- spark-build-${USER_NAME}
58+ " v ${DIKE_VERSION} - spark-build-${USER_NAME} "
6259fi
Original file line number Diff line number Diff line change 6262echo " User id is: $USER_ID "
6363echo " Group id is: $GROUP_ID "
6464
65- docker build -f Dockerfile --target v${DIKE_VERSION} _builder --build_arg SPARK_VERSION=$SPARK_VERSION -t v${DIKE_VERSION} _spark_build .
65+ docker build -f Dockerfile --target v${DIKE_VERSION} _builder --build-arg SPARK_VERSION=$SPARK_VERSION -t v${DIKE_VERSION} _spark_build .
6666echo " Done building v${DIKE_VERSION} _spark_build docker"
6767
6868docker build -f Dockerfile --build-arg SPARK_VERSION=$SPARK_VERSION -t v${DIKE_VERSION} _spark_run .
You can’t perform that action at this time.
0 commit comments