Skip to content

Commit 8ccb95a

Browse files
committed
Further update to docker configurations
1 parent f8b228c commit 8ccb95a

4 files changed

Lines changed: 25 additions & 6 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Install the AiiDAlab application
4+
echo "INSTALLING AiiDAlab ChemShell Application"
5+
cd "${HOME}"/apps
6+
if [[ -d "aiidalab-chemshell" ]]; then
7+
echo "AiiDAlab ChemShell app already installed..."
8+
else
9+
pip install -e git+https://github.com/stfc/aiidalab-chemshell.git#egg=aiidalab-chemshell --src ${HOME}/apps
10+
fi
11+
12+
# Install the associated python package
13+
cd "${HOME}"/apps/aiidalab-chemshell
14+
pip install --no-user --no-cache-dir -q -e .
15+
16+
# Return to the $HOME directory
17+
cd "${HOME}"

docker/base/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ LABEL maintainer="Dr Benjamin T. Speake <benjamin.speake@stfc.ac.uk>"
77
LABEL org.opencontainers.image.source="https://github.com/stfc/aiidalab-chemshell"
88

99
USER root
10+
11+
# Install some extra required dependencies to speed up start up and aiida ChemShell plugin
12+
RUN pip install aiidalab_widgets_base aiida-chemshell --no-cache-dir --no-user
1013

11-
# Install the AiiDAlab and AiiDA plugins for ChemShell
12-
RUN pip install -e git+https://github.com/stfc/aiidalab-chemshell.git#egg=aiidalab-chemshell --src ${HOME}/apps && \
13-
pip install aiida-chemshell --no-cache-dir --no-user
14-
14+
# This will install alc-ux on container start up
15+
COPY 61_prepare_aiidalab_chemshell.sh /usr/local/bin/before-notebook.d/
1516

1617
USER ${NB_UID}
1718
WORKDIR ${HOME}

docker/full/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM ghcr.io/stfc/aiidalab-chemshell/base:latest
33
# a pre-installed version of aiidalab-chemshell
44

55
LABEL maintainer="Dr Benjamin T. Speake <benjamin.speake@stfc.ac.uk>"
6+
LABEL org.opencontainers.image.source="https://github.com/stfc/aiidalab-chemshell"
67

78
USER root
89

docker/full/chemsh.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
label: chemsh
22
description: ChemShell (parallel)
33
computer: localhost
4-
filepath_executable: /opt/chemsh-py/bin/intel/chemsh
4+
filepath_executable: /opt/chemsh-py/bin/intel/chemsh.x
55
default_calc_job_plugin: chemshell
66
use_double_quotes: false
7-
with_mpi: false
7+
with_mpi: true
88
prepend_text: ''
99
append_text: ''

0 commit comments

Comments
 (0)