forked from aiidateam/aiida-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 659 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM aiidateam/aiida-prerequisites:0.3.0
USER root
ENV SETUP_DEFAULT_PROFILE true
ENV PROFILE_NAME default
ENV USER_EMAIL aiida@localhost
ENV USER_FIRST_NAME Giuseppe
ENV USER_LAST_NAME Verdi
ENV USER_INSTITUTION Khedivial
ENV AIIDADB_BACKEND django
# Copy and install AiiDA
COPY . aiida-core
RUN pip install ./aiida-core[atomic_tools]
RUN pip install --upgrade git+https://github.com/unkcpz/circus.git@fix/quit-wait
# Configure aiida for the user
COPY .docker/opt/configure-aiida.sh /opt/configure-aiida.sh
COPY .docker/my_init.d/configure-aiida.sh /etc/my_init.d/40_configure-aiida.sh
# Use phusion baseimage docker init system.
CMD ["/sbin/my_init"]