Skip to content
Snippets Groups Projects
Commit 23191990 authored by František Dvořák's avatar František Dvořák
Browse files

Initial import

parents
Branches
No related tags found
No related merge requests found
FROM elyra/enterprise-gateway:3.2.2 AS eg
LABEL maintainer='František Dvořák <valtri@civ.zcu.cz>'
FROM alpine:3 AS a
RUN apk add patch
COPY --from=eg /usr/local/share/jupyter/kernels /kernels
COPY apply.sh kernel-pod.yaml.j2.patch /
RUN cd /kernels \
&& /apply.sh
RUN rm -f /apply.sh /kernel-pod.yaml.j2.patch
#! /bin/sh -xe
find . -name kernel-pod.yaml.j2 -exec sh -xc 'cd $(dirname {}); patch -p0 < /kernel-pod.yaml.j2.patch' \;
--- kernel-pod-orig.yaml.j2 2024-02-09 01:45:33.039068078 +0100
+++ kernel-pod.yaml.j2 2024-02-09 01:50:02.289135017 +0100
@@ -78,6 +78,8 @@ spec:
{% endif %}
volumeMounts:
# Define any "unconditional" mounts here, followed by "conditional" mounts that vary per client
+ - name: cvmfs-host
+ mountPath: "/cvmfs:shared"
{% if kernel_volume_mounts %}
{% for volume_mount in kernel_volume_mounts %}
- {{ volume_mount }}
@@ -85,6 +87,10 @@ spec:
{% endif %}
volumes:
# Define any "unconditional" volumes here, followed by "conditional" volumes that vary per client
+ - name: cvmfs-host
+ hostPath:
+ path: /cvmfs
+ type: Directory
{% if kernel_volumes %}
{% for volume in kernel_volumes %}
- {{ volume }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment