123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- FROM jupyterhub/k8s-singleuser-sample:1.2.0
- ARG TAG="dev"
- ARG ELYRA_VERSION
- ARG ELYRA_PACKAGE=elyra-"$ELYRA_VERSION"-py3-none-any.whl
- COPY requirements.txt ${ELYRA_PACKAGE}* ./
- RUN python3 -m pip install --quiet --no-cache-dir "$ELYRA_PACKAGE"[all] && rm $ELYRA_PACKAGE
- RUN python3 -m pip install -r requirements.txt && rm requirements.txt
- RUN elyra-metadata create component-catalogs \
- --schema_name=elyra-kfp-examples-catalog \
- --display_name="Kubeflow Pipelines examples" \
- --runtime_type=KUBEFLOW_PIPELINES \
- --categories="['examples']"
- COPY --chmod=0755 --chown=root:root start-elyra.sh /usr/local/bin/start-elyra.sh
- CMD ["/usr/local/bin/start-elyra.sh"]
|