Skip to content
Snippets Groups Projects
Commit a79fa540 authored by Fabian Nuraddin Alexander Gabel's avatar Fabian Nuraddin Alexander Gabel :speech_balloon:
Browse files

adapt docker container for local pontifex_bin

parent c67257c5
No related branches found
No related tags found
2 merge requests!27update master branch,!21Resolve "pontifex-core integration"
Pipeline #160328 passed
*
......@@ -3,7 +3,3 @@ FROM node:18.5-bullseye
RUN wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb \
&& dpkg -i pandoc-2.18-1-amd64.deb \
&& rm -rf pandoc-2.18-1-amd64.deb
ADD bin /pontifex/bin
ENV PONTIFEX_BIN=/pontifex/bin
......@@ -2,10 +2,11 @@
# run this from the basedir of the hugo folder
PONTIFEX_BASEDIR=`pwd`
# docker container will provide PONTIFEX_BIN
# use local bin folder
if [ ! -n "${PONTIFEX_BIN}" ]; then
PONTIFEX_BIN=`pwd`/bin
fi
echo "Using Preprocessing routines from PONTIFEX_BIN=${PONTIFEX_BIN}"
BUILD_DIR=${PONTIFEX_BASEDIR}/content/en/docs
INPUT_JSON="${PONTIFEX_BASEDIR}/nodes/cyto.json"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment