Skip to content

Commit

Permalink
Fix piwind server - older stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Nov 8, 2023
1 parent 306cc52 commit 01ef142
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
20 changes: 0 additions & 20 deletions docker/Dockerfile.piwind_server
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
FROM coreoasis/api_server:latest

COPY --chown=server:server $ods_package ./
USER server

# Install ods_tools from package file (Optional) 'docker build --build-arg ods_package=<whl>'
ARG ods_package
RUN if [ ! -z "$ods_package" ]; then \
pip uninstall ods-tools -y; \
pip install --user --no-warn-script-location $ods_package; \
fi

# Install ODS-Tools from git branch (Optional) 'docker build --build-arg ods_tools_branch=develop'
ARG ods_tools_branch
RUN if [ ! -z "$ods_tools_branch" ] ; then \
apt update && apt install -y git; \
pip uninstall ods-tools -y; \
pip install --user --no-warn-script-location -v git+https://git@github.com/OasisLMF/ODS_Tools.git@${ods_tools_branch}#egg=ods-tools; \
fi


15 changes: 0 additions & 15 deletions docker/Dockerfile.piwind_worker
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,6 @@ COPY $ods_package ./
COPY $oasislmf_package ./


# Install ods_tools from package file (Optional) 'docker build --build-arg ods_package=<whl>'
ARG ods_package
RUN if [ ! -z "$ods_package" ]; then \
pip uninstall ods-tools -y; \
pip install $ods_package; \
fi

# Install ODS-Tools from git branch (Optional) 'docker build --build-arg ods_tools_branch=develop'
ARG ods_tools_branch
RUN if [ ! -z "$ods_tools_branch" ] ; then \
apt update && apt install -y git; \
pip uninstall ods-tools -y; \
pip install --user --no-warn-script-location -v git+https://git@github.com/OasisLMF/ODS_Tools.git@${ods_tools_branch}#egg=ods-tools; \
fi

# Install MDK from package file (Optional) 'docker build --build-arg oasislmf_package=<whl>'
ARG oasislmf_package
RUN if [ ! -z "$oasislmf_package" ]; then \
Expand Down

0 comments on commit 01ef142

Please sign in to comment.