Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quip minimal image #1

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/quip-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build full three stage QUIP image

on: [ push ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

# Pull the latest version of the image
# in order to use unchanged layers
- name: pull last version of image
run: docker pull libatomsquip/quip:latest || true

- name: Build quip-base
run: |
docker build --tag libatomsquip/quip-base:latest --cache-from libatomsquip/quip quip-base
docker push libatomsquip/quip-base:latest

- name: Build quip-gap
run: |
docker build --tag libatomsquip/quip-gap:latest --cache-from libatomsquip/quip quip-gap
docker push libatomsquip/quip-gap:latest

- name: Build quip
run: |
docker build --tag libatomsquip/quip:latest --cache-from libatomsquip/quip quip
docker push libatomsquip/quip:latest
2 changes: 1 addition & 1 deletion quip-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ RUN mkdir -p ${JULIA_PATH} \
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("registry add https://github.com/JuliaRegistries/General.git")'
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("registry add https://github.com/JuliaMolSim/MolSim.git")'

RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add ACE"); using ACE'
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add ACE@0.8.4"); using ACE'
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add JuLIP"); using JuLIP'
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add ASE"); using ASE'
RUN julia -e 'using Pkg;Pkg.REPLMode.pkgstr("add IPFitting"); using IPFitting'
Expand Down
4 changes: 1 addition & 3 deletions quip-gap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ RUN make libquip > /dev/null \
ENV QUIP_ARCH linux_x86_64_gfortran_openmp
ADD Makefile.inc build/${QUIP_ARCH}/Makefile.inc

RUN pip install src/f90wrap

RUN make \
&& make install \
&& make install-quippy
&& make install-quippy


#################################################################################
Expand Down