Skip to content
Snippets Groups Projects
Commit 76dc0c53 authored by Carsten Lemmen's avatar Carsten Lemmen
Browse files

run gotm -v in docker for test

parent 86c9e7dc
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ CMD ["/bin/bash"]
FROM base AS gotm
ENV GOTMDIR=/home/gotm
ENV GOTMDIR /home/gotm
RUN git clone --depth=1 --recurse-submodules https://github.com/gotm-model/code.git $GOTMDIR
RUN mkdir -p $GOTMDIR/build
RUN mkdir -p /opt
......@@ -72,8 +72,8 @@ RUN apk add \
# . /home/.pyenv/bin/activate && \
# pip install editscenario && deactivate
ENV PATH=${PATH}:/opt/bin
ENV LD_LIBRARY_PATH=${PATH}:/opt/lib
ENV PATH ${PATH}:/opt/bin
ENV LD_LIBRARY_PATH ${PATH}:/opt/lib
RUN groupadd -g 1009 model
RUN useradd -d /home -s /bin/bash -m model -u 1009 -g 1009
......
......@@ -32,6 +32,6 @@ test-fabm-docker:
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- docker pull ${CONTAINER_REGISTRY_IMAGE}
- docker run ${CONTAINER_REGISTRY_IMAGE} gotm -h
- docker run ${CONTAINER_REGISTRY_IMAGE} gotm -v
needs:
- build-fabm-docker
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