Skip to content
Snippets Groups Projects
Commit 842fbecf authored by B13nch3n's avatar B13nch3n
Browse files

Improve DOckerfile

parent 3f92a5b5
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,6 @@ RUN set -e pipefail; \
apt-get update -y; \
apt-get install -y git pip; \
pip install -r requirements.txt; \
# for development, install black & PyLint
pip install black pylint; \
git clone https://github.com/ihmwg/python-ihm.git ihm.git; \
cd ihm.git; \
python3 setup.py build; \
......@@ -41,6 +39,15 @@ RUN set -e pipefail; \
rm -rf ${SRC_DIR}/modelcif.git; \
apt-get remove -y git pip
# 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 \
apt-get install -y pip emacs; \
pip install black pylint; \
apt-get remove -y pip; \
fi
## Copy tool(s)
COPY --chmod=755 translate2modelcif.py /usr/local/bin/translate2modelcif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment