Spaces:
Sleeping
Sleeping
GuysRGithub
commited on
Commit
·
d116e69
1
Parent(s):
4644cec
Update
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
-
RUN apt-get install gcc make
|
| 4 |
RUN wget http://www.harding.motd.ca/autossh/autossh-1.4e.tgz
|
| 5 |
RUN tar -xf autossh-1.4e.tgz
|
| 6 |
RUN cd autossh-1.4e && ./configure && make && make install
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# Set up a new user named "user" with user ID 1000
|
| 9 |
RUN useradd -m -u 1000 user
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
+
RUN apt-get install gcc make ssh
|
| 4 |
RUN wget http://www.harding.motd.ca/autossh/autossh-1.4e.tgz
|
| 5 |
RUN tar -xf autossh-1.4e.tgz
|
| 6 |
RUN cd autossh-1.4e && ./configure && make && make install
|
| 7 |
+
RUN service ssh force-reload
|
| 8 |
+
|
| 9 |
|
| 10 |
# Set up a new user named "user" with user ID 1000
|
| 11 |
RUN useradd -m -u 1000 user
|