Skip to content

Commit

Permalink
shell check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Aug 15, 2024
1 parent 3344bc6 commit f504154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ VERSION=${VERSION:-0.4}
IMAGE=${IMAGE:-holdenk/hps:$VERSION}
MINI_IMAGE=${MINI_IMAGE:-holdenk/hps-mini:$VERSION}
docker buildx build --platform=linux/amd64,linux/arm64 -t "${MINI_IMAGE}" -f Dockerfile-mini . --push
docker buildx build --platform=linux/amd64,linux/arm64 -t "${IMAGE}" . --push --build-arg base=${MINI_IMAGE}
docker buildx build --platform=linux/amd64,linux/arm64 -t "${IMAGE}" . --push --build-arg base="${MINI_IMAGE}"
#docker buildx build --platform=linux/amd64 -t "${IMAGE}" . --push
4 changes: 2 additions & 2 deletions run_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ VERSION=${VERSION:-0.4}
IMAGE=${IMAGE:-holdenk/hps:$VERSION}
export VERSION
export IMAGE
docker image pull $IMAGE
docker image pull "$IMAGE"
mkdir -p warehouse
mkdir -p iceberg-workshop
docker container run --mount type=bind,source="$(pwd)"/warehouse,target=/high-performance-spark-examples/warehouse --mount type=bind,source="$(pwd)/iceberg-workshop",target=/high-performance-spark-examples/iceberg-workshop -p 8877:8877 -p 4040:4040 -it ${IMAGE} # /bin/bash
docker container run --mount type=bind,source="$(pwd)"/warehouse,target=/high-performance-spark-examples/warehouse --mount type=bind,source="$(pwd)/iceberg-workshop",target=/high-performance-spark-examples/iceberg-workshop -p 8877:8877 -p 4040:4040 -it "${IMAGE}" # /bin/bash

0 comments on commit f504154

Please sign in to comment.