Skip to content

Commit

Permalink
initial branch commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-nikiforov-umn committed Jun 22, 2024
1 parent bac86ed commit 7aa871b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
7 changes: 7 additions & 0 deletions docker/config/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,12 @@ RUN chmod 4755 /usr/bin/sudo
RUN chown -R openkim:openkim /home/openkim/
RUN chown -R openkim:openkim /pipeline/


# TODO: Maybe a better way to do this? I want kim-property to be editable
RUN pip3 uninstall -y kim-property

USER openkim

RUN pip3 --no-cache-dir install kim-property==2.6.2

WORKDIR /home/openkim/
3 changes: 3 additions & 0 deletions docker/git/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ RUN git clone -q https://gitlab.com/openkim/ase -b user-species ${PACKAGE_DIR}/a
RUN git clone -q https://gitlab.com/micronano_public/MDpp -b release ${PACKAGE_DIR}/MD++ \
&& cd ${PACKAGE_DIR}/MD++ \
&& git checkout f7d64a7720a4bc1602371a128c8db7779fcf8dcb
RUN git clone -q https://github.com/openkim/kim-test-utils -b main ${PACKAGE_DIR}/kim-test-utils \
&& cd ${PACKAGE_DIR}/kim-test-utils \
&& git checkout 11ac5dd696cf7f17522e221d5efd7e03e4ea9279
22 changes: 9 additions & 13 deletions docker/install/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN ${PIP} install markupsafe==2.0.1
RUN ${PIP} install Jinja2==2.11.3
RUN ${PIP} install edn_format==0.7.5
RUN ${PIP} install kim-edn==1.4.1
RUN ${PIP} install kim-property==2.6.1
RUN ${PIP} install kim-property==2.6.2
RUN ${PIP} install kim-query==3.0.0
RUN ${PIP} install simplejson==3.17.2
RUN ${PIP} install numpy==1.19.5
Expand Down Expand Up @@ -89,18 +89,8 @@ RUN cd ${PACKAGE_DIR} \
#########################################
## numdifftools
#########################################
# Note that installing from the github repo rather than PyPI requires that git
# be installed because it uses pbr (https://docs.openstack.org/pbr/latest/). If
# we really want, we can build an sdist when we clone the numdifftools repo via
# `python setup.py sdist && pip install dist/*`, but I'm forgoing this for now
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq \
&& apt-get install --no-install-recommends -qqy git \
&& cd ${PACKAGE_DIR}/numdifftools \
&& ${PIP} install . \
&& apt-get purge -y git \
&& apt-get clean \
&& rm -fr /var/lib/apt/lists/*
RUN cd ${PACKAGE_DIR}/numdifftools \
&& ${PIP} install .

#########################################
## kimpy
Expand Down Expand Up @@ -167,6 +157,12 @@ RUN cd ${PACKAGE_DIR}/kim-python-utils \
RUN cd ${PACKAGE_DIR}/crystal-genome-util \
&& ${PIP} install .

#########################################
## kim-test-utils
#########################################
RUN cd ${PACKAGE_DIR}/kim-test-utils \
&& ${PIP} install .

#########################################
## convergence
#########################################
Expand Down
1 change: 1 addition & 0 deletions docker/sys/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ RUN apt-get update -qq \
valgrind \
tree \
libfreetype6-dev \
git \
&& apt-get clean \
&& rm -fr /var/lib/apt/lists/*

0 comments on commit 7aa871b

Please sign in to comment.