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
1bfccb04
Commit
1bfccb04
authored
2 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Improved validation Dockerfile
parent
d2563be8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
validation/Dockerfile
+9
-6
9 additions, 6 deletions
validation/Dockerfile
with
9 additions
and
6 deletions
validation/Dockerfile
+
9
−
6
View file @
1bfccb04
ARG
VERSION_PYTHON="3.
7
"
ARG
VERSION_PYTHON="3.
9
"
ARG
VERSION_BASE_IMAGE="python:${VERSION_PYTHON}-alpine3.16"
FROM
${VERSION_BASE_IMAGE}
# We need to declare ARGs again which were declared before the build stage
...
...
@@ -131,11 +131,14 @@ RUN set -e pipefail; \
apk del curl
# for development
#RUN set -e pipefail; \
# apk add bash emacs gcc build-base; \
# /usr/local/bin/python -m pip install pylint black; \
# apk del gcc build-base
# switch to development version via build-arg
ARG
ADD_DEV
RUN
set
-e
pipefail
;
\
if
test
xYES
==
x
`
echo
${
ADD_DEV
}
|
tr
'[:lower:]'
'[:upper:]'
`
;
then
\
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
## MMCIF_USER_ID can be used to avoid file permission issues in development.
...
...
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