From 3339bcc4c3d08c6f167c971d3ef679a2c3a116ec Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 3 Jun 2022 10:38:52 +0200
Subject: [PATCH] [ogs_jupyter] Relaxed base image check.

---
 ogscm/recipes/ogs_jupyter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ogscm/recipes/ogs_jupyter.py b/ogscm/recipes/ogs_jupyter.py
index 73ef4b2..bd9e79e 100644
--- a/ogscm/recipes/ogs_jupyter.py
+++ b/ogscm/recipes/ogs_jupyter.py
@@ -20,7 +20,7 @@ parse_g.add_argument(
 # Parse local args
 local_args = parser.parse_known_args()[0]
 
-if not local_args.runtime_base_image.startswith("jupyter/"):
+if not "jupyter/" in local_args.runtime_base_image:
     print(
         "The ogs_jupyter.py recipe requires a Jupyter base image for the "
         "runtime stage! E.g. --runtime_base_image jupyter/base-notebook"
-- 
GitLab