UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit db6a399b authored by Shawn McNeill's avatar Shawn McNeill
Browse files

change base image, change kubeflow url in hardmani

parent 8bc6794c
No related branches found
No related tags found
2 merge requests!28Development,!27Updated operator
Pipeline #3562324 failed
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/opensource/alpinelinux/alpine
ARG BASE_TAG=3.20.2
ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk17-runtime-ubi9-slim
ARG BASE_TAG=1.17
FROM hub.docker.com/r/kubeflow/spark-operator:2.0.0-rc.0 as base
FROM apache/spark:3.5.2 as spark
FROM kubeflow/spark-operator:2.0.0-rc.0 as base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV SPARK_HOME=/opt/spark
USER root
ARG JAVA_VERSION
ENV JAVA_VERSION=${JAVA_VERSION:-17}
# Install python and tools
RUN apk upgrade --no-cache --update \
&& apk add --no-cache openjdk${JAVA_VERSION} \
&& apk update && apk add --no-cache shadow \
&& apk add --no-cache bash
RUN microdnf install -y openssl shadow
RUN microdnf upgrade -y && \
microdnf clean all && \
rm -rf /var/cache/dnf
COPY --from=base /usr/bin/spark-operator /usr/bin/
COPY --from=spark /opt/spark /opt/spark/
......
......@@ -23,7 +23,7 @@ labels:
resources:
- tag: kubeflow/spark-operator:2.0.0-rc
url: docker://docker.io/kubeflow/spark-operator@sha256:a789f9f145c5099b41641e31f695feb43dbc018b29e507f615131670abad404a
url: docker://kubeflow/spark-operator@sha256:a789f9f145c5099b41641e31f695feb43dbc018b29e507f615131670abad404a
- url: docker://apache/spark@sha256:f3ba191e047af7a8124f5b206220a7cd142a537efd5bf17a9295c10aba60df99
tag: apache/spark:3.5.2
- url: https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment