Skip to content

Commit

Permalink
Merge branch 'bilke-main-patch-96559' into 'main'
Browse files Browse the repository at this point in the history
Fix devcontainer dockerfile

See merge request ogs/tools/ogstools!140
  • Loading branch information
TobiasMeisel committed Apr 2, 2024
2 parents b6de427 + 77abf04 commit a44486b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ RUN apt-get update \
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/feflow.gpg] https://download.feflow.com/download/FEFLOW/linux/apt-repo/$DIST_DIR stable main" | sudo tee /etc/apt/sources.list.d/feflow.stable.list \
&& apt-get update \
&& apt list | grep feflow \
&& apt-get install -yq --no-install-recommends feflow-ifm-devel feflow-python80 \
&& apt-get install -yq --no-install-recommends feflow-ifm-devel feflow-python81 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

ENV \
PYTHONPATH=/opt/feflow/8.0/python \
LD_LIBRARY_PATH=/opt/feflow/8.0/lib64:/opt/feflow/common/qt/lib64:/opt/feflow/common/lib64 \
FEFLOW80_ROOT=/opt/feflow/8.0
PYTHONPATH=/opt/feflow/8.1/python \
LD_LIBRARY_PATH=/opt/feflow/8.1/lib64:/opt/feflow/common/qt/lib64:/opt/feflow/common/lib64 \
FEFLOW81_ROOT=/opt/feflow/8.1
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
variables:
POETRY_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
DOCKER_IMAGE: registry.opengeosys.org/ogs/tools/ogstools/devcontainer-3.9
DOCKER_IMAGE_PINNED: registry.opengeosys.org/ogs/tools/ogstools/devcontainer-3.9:feflow-8.0
DOCKER_USER_IMAGE: registry.opengeosys.org/ogs/tools/ogstools/main-3.9

workflow:
Expand All @@ -18,7 +19,7 @@ workflow:
- if: $CI_COMMIT_TAG
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "ogs/tools/ogstools"'

image: $DOCKER_IMAGE
image: $DOCKER_IMAGE_PINNED

cache:
paths:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.opengeosys.org/ogs/tools/ogstools/devcontainer-3.9
FROM registry.opengeosys.org/ogs/tools/ogstools/devcontainer-3.9:feflow-8.0

RUN --mount=target=/ogstools,type=bind,source=.,readwrite \
pip install /ogstools[feflow] \
Expand Down

0 comments on commit a44486b

Please sign in to comment.