first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
13
base/erlang/with-ssh/27.3.2/Dockerfile
Normal file
13
base/erlang/with-ssh/27.3.2/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM erlang:27.3.2-slim
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends openssh-client \
|
||||
&& mkdir -p /etc/ssh \
|
||||
&& ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
|
||||
|
||||
COPY start_ssh.escript /usr/local/bin/start_ssh.escript
|
||||
|
||||
CMD ["escript", "/usr/local/bin/start_ssh.escript"]
|
Reference in New Issue
Block a user