Skip to content
Snippets Groups Projects
Commit 1bfccb04 authored by Bienchen's avatar Bienchen
Browse files

Improved validation Dockerfile

parent d2563be8
No related branches found
No related tags found
No related merge requests found
ARG VERSION_PYTHON="3.7" ARG VERSION_PYTHON="3.9"
ARG VERSION_BASE_IMAGE="python:${VERSION_PYTHON}-alpine3.16" ARG VERSION_BASE_IMAGE="python:${VERSION_PYTHON}-alpine3.16"
FROM ${VERSION_BASE_IMAGE} FROM ${VERSION_BASE_IMAGE}
# We need to declare ARGs again which were declared before the build stage # We need to declare ARGs again which were declared before the build stage
...@@ -131,11 +131,14 @@ RUN set -e pipefail; \ ...@@ -131,11 +131,14 @@ RUN set -e pipefail; \
apk del curl apk del curl
# for development # switch to development version via build-arg
#RUN set -e pipefail; \ ARG ADD_DEV
# apk add bash emacs gcc build-base; \ RUN set -e pipefail; \
# /usr/local/bin/python -m pip install pylint black; \ if test xYES == x`echo ${ADD_DEV} | tr '[:lower:]' '[:upper:]'`; then \
# apk del gcc build-base apk add bash emacs gcc build-base; \
/usr/local/bin/python -m pip install pylint black; \
apk del gcc build-base; \
fi
## Add a dedicated user for mmCIF file validation ## Add a dedicated user for mmCIF file validation
## MMCIF_USER_ID can be used to avoid file permission issues in development. ## MMCIF_USER_ID can be used to avoid file permission issues in development.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment