initial commit
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt update && apt upgrade -y && \
|
||||
apt install -y s6 openssh-server && \
|
||||
rm /etc/ssh/ssh_host_* && mkdir -p /run/sshd && \
|
||||
mkdir -p /etc/s6
|
||||
|
||||
ADD entry.sh /
|
||||
COPY etc/s6 /etc/s6/
|
||||
|
||||
ENTRYPOINT [ "/bin/bash", "/entry.sh" ]
|
||||
CMD [ "/usr/bin/s6-svscan", "/etc/s6" ]
|
||||
Reference in New Issue
Block a user