-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 799 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 799 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 ubuntu:latest
ENV HOME /root
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -yqq mc htop ncdu sysstat tcpdump \
wget curl git # openssh-server
# Install Node.js
# RUN curl -sL https://deb.nodesource.com/setup_6.x |bash -
# RUN apt-get install -y nodejs && apt-get clean
#
# RUN mkdir /var/run/sshd
# RUN echo 'root:nuclide' | chpasswd
# RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
# ENV NOTVISIBLE "in users profile"
# RUN echo "export VISIBLE=now" >> /etc/profile
# Install Nuclide Remote Server
# RUN npm install -g nuclide
# Start ssh service
# CMD ["/usr/sbin/sshd", "-D"]