Skip to content

Commit

Permalink
Merge pull request #15 from openkim/integrate-hackathon-changes
Browse files Browse the repository at this point in the history
Integrate hackathon changes
  • Loading branch information
ilia-nikiforov-umn authored Jul 9, 2024
2 parents bac86ed + 5815e84 commit 7057b1f
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 385b23d7b3f7b957dfc7cc609428e65824042dcf
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 7057b1f

Please sign in to comment.