From 95c4651a5fb974182f7bedfb7c4940000785de0e Mon Sep 17 00:00:00 2001
From: Jonas Eppelt <jonas.eppelt@kit.edu>
Date: Thu, 23 Nov 2023 07:33:16 +0000
Subject: [PATCH] added container for theo c

---
 .gitlab-ci.yml   | 17 ++++++++++++++++-
 theoc/Dockerfile |  7 +++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 theoc/Dockerfile

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d78a40..a858121 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,12 +73,27 @@ tp_herwig:
       - basis/*
   allow_failure: true
 
+theoc:
+ varibles:
+   IMAGE_NAME: "theoc"
+  extends:
+   - .commin_build
+  needs:
+   - job: tp
+     optional: true
+  rules:
+   - changes:
+     - $IMAGE_NAME/Dockerfile
+     - tp /*
+     - basis /*
+  allow_failure: true
+
 create_jupytermachine_version:
   stage: create_jupytermachine_version
   image: docker:latest
   script:
     - |
-      IMAGES=( "basis" "tp" "python311" "tp_herwig") #  "tp_geant" "cuda_basis"
+      IMAGES=( "basis" "tp" "python311" "tp_herwig" "theoc") #  "tp_geant" "cuda_basis"
       docker login -u "$DOCKER_HUB_USER" -p $DOCKER_TOKEN
       cd basis_jupytermachine
       for image in "${IMAGES[@]}"; do
diff --git a/theoc/Dockerfile b/theoc/Dockerfile
new file mode 100644
index 0000000..2e70ff5
--- /dev/null
+++ b/theoc/Dockerfile
@@ -0,0 +1,7 @@
+FROM jeppelt/etp_tp
+
+USER root
+
+RUN pip install --upgrade multipoles
+
+USER $NB_USER
\ No newline at end of file
-- 
GitLab