Skip to content

Commit

Permalink
Add plugin specific docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 20, 2023
1 parent 33382fc commit f404f0a
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM aiidateam/aiida-core-with-services:edge

USER root

# Install aiida-sssp-workflow
# XXX:to have the latest code copy the src folder into the container
RUN pip install aiida-sssp-workflow

COPY s6-assets/s6-rc.d /etc/s6-overlay/s6-rc.d
COPY s6-assets/init /etc/init

USER ${SYSTEM_UID}
11 changes: 11 additions & 0 deletions docker/s6-assets/init/run-after-daemon-start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# XXX for testing
verdi config set warnings.rabbitmq_version True

# XXX for testing
verdi config set -a caching.enabled_for aiida.calculations:quantumespresso.pw

# computer/code setup
# verdi computer setup --config $COMPUTER_CONFIG_NAME
# ...
Empty file.
Empty file.
1 change: 1 addition & 0 deletions docker/s6-assets/s6-rc.d/run-after-daemon-start/timeout-up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
1 change: 1 addition & 0 deletions docker/s6-assets/s6-rc.d/run-after-daemon-start/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
4 changes: 4 additions & 0 deletions docker/s6-assets/s6-rc.d/run-after-daemon-start/up
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/command/execlineb -S0

foreground { s6-echo "Calling /etc/init/run-after-daemon-start" }
/etc/init/run-after-daemon-start.sh
Empty file.

0 comments on commit f404f0a

Please sign in to comment.