From f09733e39eb1c2b1c00e2f6d4a0c35dac187e71d Mon Sep 17 00:00:00 2001 From: Vincent Mazenod <vmazenod@gmail.com> Date: Fri, 26 Aug 2022 18:05:29 +0200 Subject: [PATCH] fix math_render --- .docker/build/python/Dockerfile | 1 + .docker/scripts/python/command.dev.sh | 2 ++ .gitlab-ci.yml | 2 ++ .gitmodules | 3 +++ 4 files changed, 8 insertions(+) create mode 100644 .gitmodules diff --git a/.docker/build/python/Dockerfile b/.docker/build/python/Dockerfile index 8a1d3e2..ecf5806 100644 --- a/.docker/build/python/Dockerfile +++ b/.docker/build/python/Dockerfile @@ -3,6 +3,7 @@ FROM debian:stable RUN apt-get update && apt-get install -y --no-install-recommends \ python3 \ python3-pip \ + git \ locales \ rsync \ && \ diff --git a/.docker/scripts/python/command.dev.sh b/.docker/scripts/python/command.dev.sh index 9d95f98..4e04d2d 100755 --- a/.docker/scripts/python/command.dev.sh +++ b/.docker/scripts/python/command.dev.sh @@ -1,3 +1,5 @@ +git submodule init +git submodule update --recursive --remote sed -i 's/\$port &/\$port/g' ./develop_server.sh chmod +x develop_server.sh export PATH=/root/.local/bin:$PATH diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 743b817..a37c81f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,8 @@ build: image: docker.isima.fr/vimazeno/pelican_perso_python stage: build script: + - git submodule init + - git submodule update --recursive --remote - PATH=/root/.local/bin:$PATH pelican deploy: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..519347d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "plugins/math_render"] + path = plugins/math_render + url = https://github.com/barrysteyn/pelican_plugin-render_math.git -- GitLab