File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ RUN pip install pipenv==2023.10.24
2828ENV PIPENV_IGNORE_VIRTUALENVS=1
2929ENV PIPENV_VENV_IN_PROJECT=1
3030
31- RUN apt-get update && apt-get install -y \
32- openssh-server
33-
3431
3532RUN groupadd -g ${CONTAINER_GROUP_ID} devenv || echo "group with id ${CONTAINER_GROUP_ID} already exists, ignoring..."
3633
@@ -43,20 +40,6 @@ RUN passwd -d neuroforge
4340RUN echo '%skipper ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
4441RUN echo '%neuroforge ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
4542
46- # expose everything via ssh as well:
47-
48- RUN mkdir /var/run/sshd
49- RUN chmod 0755 /var/run/sshd
50- RUN mkdir /home/neuroforge/.ssh
51- RUN chown -R neuroforge /home/neuroforge/.ssh
52- RUN chown -R neuroforge /etc/ssh/
53- RUN chown -R neuroforge /tmp
54-
55- COPY ./devenv/dev_ssh/dev_rsa.pub /home/neuroforge/.ssh/authorized_keys
56- RUN chmod 600 /home/neuroforge/.ssh/authorized_keys
57-
58- RUN chown -R neuroforge /home/neuroforge/.ssh
59-
6043RUN apt-get install -y rsync
6144
6245USER neuroforge
You can’t perform that action at this time.
0 commit comments