Skip to content

Instantly share code, notes, and snippets.

@martin-g
Created March 18, 2022 09:10
Show Gist options
  • Save martin-g/da7d0d305105fd84d7314d98c3d1d56c to your computer and use it in GitHub Desktop.
Save martin-g/da7d0d305105fd84d7314d98c3d1d56c to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
BASE_OS="openeuler/openeuler:20.03-lts-sp3"
SPARK_VERSION="3.3.0-SNAPSHOT"
SCALA_VERSION="scala_2.12"
DOCKERIMAGETAG="11-jre-slim"
cd $SPARK_HOME
./bin/docker-image-tool.sh \
-t ${SPARK_VERSION}-${SCALA_VERSION}-${DOCKERIMAGETAG} \
-b java_image_tag=$DOCKERIMAGETAG \
-p ./kubernetes/dockerfiles/spark/Dockerfile \
build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment