Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions spark-k8s/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [[ "${PRODUCT_VERSION}" == 4* ]]; then
# Create this empty directory so that following COPY layers succeed.
mkdir -p /stackable/spark/jars
# Create a dummy tarball to satisfy the build process for Spark 3.
touch hbase-connector-${HBASE_CONNECTOR_VERSION}-stackable${RELEASE}-src.tar.gz
touch hbase-connector-${HBASE_CONNECTOR_VERSION}-stackable${RELEASE_VERSION}-src.tar.gz
exit 0
fi

Expand Down Expand Up @@ -301,7 +301,7 @@ EOF
FROM local-image/java-base AS final

ARG PRODUCT_VERSION
ARG PYTHON
ARG PYTHON_VERSION
ARG RELEASE_VERSION
ARG JMX_EXPORTER_VERSION
ARG HBASE_CONNECTOR_VERSION
Expand Down Expand Up @@ -347,15 +347,15 @@ microdnf install --nodocs \
gzip \
hostname \
procps \
"python${PYTHON}" \
"python${PYTHON}-pip" \
"python${PYTHON_VERSION}" \
"python${PYTHON_VERSION}-pip" \
zip \
"temurin-${JAVA_VERSION}-jdk"
microdnf clean all
rm -rf /var/cache/yum

ln -s /usr/bin/python${PYTHON} /usr/bin/python
ln -s /usr/bin/pip-${PYTHON} /usr/bin/pip
ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python
ln -s /usr/bin/pip-${PYTHON_VERSION} /usr/bin/pip

# Symlink example jar, so that we can easily use it in tests
ln -s /stackable/spark/examples/jars/spark-examples_*.jar /stackable/spark/examples/jars/spark-examples.jar
Expand Down
Loading