-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
35 lines (24 loc) · 1.04 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#FROM aiidalab/aiidalab-docker-stack:22.8.1
FROM aiidalab/full-stack:latest
# For development purposes
USER root
RUN apt-get update && \
apt-get install -y git vim screen
USER jovyan
RUN mkdir -p /home/jovyan/work/aiida_finales
COPY --chown=jovyan:users . /home/jovyan/work/aiida_finales/.
COPY --chown=jovyan:users .docker/configs/ssh_config /home/jovyan/.ssh/config
RUN pip install -e /home/jovyan/work/aiida_finales[devs,docs]
#COPY setups/ssh/config /home/jovyan/.
#USER root
#RUN fix-permissions /home/jovyan/config
#USER jovyan
###COPY --chown=aiida:users setups/ssh/config /home/jovyan/.ssh/config
###COPY --chown=aiida:users setups/ssh/ed25519_github /home/jovyan/.ssh/ed25519_github
###COPY --chown=jovyan:users setups/ssh/ed25519_github.pub /home/jovyan/.ssh/ed25519_github.pub
###RUN chmod 600 /home/jovyan/.ssh/ed25519_github
#USER jovyan
#RUN git clone [email protected]:ramirezfranciscof/aiida-core.git /home/jovyan/work/
#USER root
#RUN echo $(ls -lhrt /home/jovyan/.ssh/)
#COPY setups/setup_ssh.sh /usr/local/bin/before-notebook.d/