Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
modelcif-converters
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
modelcif-converters
Commits
20f4a6b3
Commit
20f4a6b3
authored
2 months ago
by
B13nch3n
Browse files
Options
Downloads
Patches
Plain Diff
Update validation tool deps
parent
4bee58bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
validation/Dockerfile
+6
-6
6 additions, 6 deletions
validation/Dockerfile
with
6 additions
and
6 deletions
validation/Dockerfile
+
6
−
6
View file @
20f4a6b3
ARG
VERSION_PYTHON="3.
9
"
ARG
VERSION_BASE_IMAGE="python:${VERSION_PYTHON}-alpine3.1
9
"
ARG
VERSION_PYTHON="3.
13
"
ARG
VERSION_BASE_IMAGE="python:${VERSION_PYTHON}-alpine3.
2
1"
FROM
${VERSION_BASE_IMAGE}
# We need to declare ARGs again which were declared before the build stage
# (FROM directive), otherwise they won't be available in this stage.
...
...
@@ -7,7 +7,7 @@ ARG VERSION_PYTHON
ARG
VERSION_BASE_IMAGE
ARG
VERSION_CPP_DICT_PACK="v2.500"
ARG
VERSION_PY_MMCIF="0.
7
9"
ARG
VERSION_PY_MMCIF="0.9
1
"
## Set up environment
ENV
MMCIF_DICTS_DIR="/usr/local/share/mmcif-dict-suite" \
...
...
@@ -80,7 +80,7 @@ COPY --chmod=755 validate-mmcif-file.py /usr/local/bin/validate-mmcif-file
## https://github.com/ihmwg/ModelCIF/blob/master/dist/mmcif_ma.dic.
## Dictionaries do not change that frequently therefore we skip the hassle of
## keeping them in an external volume.
ARG
USE_DICT_VERSION="1.4.
6
"
ARG
USE_DICT_VERSION="1.4.
7
"
ENV
USE_DICT_VERSION=${USE_DICT_VERSION}
LABEL
org.modelarchive.dict_release="${USE_DICT_VERSION}"
WORKDIR
${SRC_DIR}
...
...
@@ -90,8 +90,8 @@ RUN set -e pipefail; \
export
_DICT_URL
=
"https://mmcif.wwpdb.org/dictionaries/ascii"
;
\
export
_GIT_URL
=
"https://raw.github.com/ihmwg/ModelCIF/master"
;
\
# Use the path of an actual commit to keep the dict immutable (RCSB refuses
# to use Git tags for versions).
export _MA_DICT_URL="https://raw.githubusercontent.com/ihmwg/ModelCIF/
d18ba38
/archive/mmcif_ma-v${USE_DICT_VERSION}.dic"; \
# to use Git tags for versions).
If build fails, maybe update the commit.
export _MA_DICT_URL="https://raw.githubusercontent.com/ihmwg/ModelCIF/
80e1e22
/archive/mmcif_ma-v${USE_DICT_VERSION}.dic"; \
mkdir ${_DICT_DIR}; \
mkdir ${MMCIF_DICTS_DIR}; \
cd ${_DICT_DIR}; \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment