Skip to content

Commit dd998a0

Browse files
committed
cleanup Dockerfile-base-dev
1 parent 7863f1c commit dd998a0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

skipper/Dockerfile-base-dev

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ RUN pip install pipenv==2023.10.24
2828
ENV PIPENV_IGNORE_VIRTUALENVS=1
2929
ENV PIPENV_VENV_IN_PROJECT=1
3030

31-
RUN apt-get update && apt-get install -y \
32-
openssh-server
33-
3431

3532
RUN 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
4340
RUN echo '%skipper ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
4441
RUN 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-
6043
RUN apt-get install -y rsync
6144

6245
USER neuroforge

0 commit comments

Comments
 (0)