mirror of
https://github.com/MatteZ02/infra.git
synced 2025-07-01 16:53:37 +00:00
16 lines
264 B
Docker
16 lines
264 B
Docker
FROM docker.io/library/debian
|
|
|
|
RUN apt update && \
|
|
apt install -y openssh-server rsync git
|
|
|
|
RUN rm -rf /etc/ssh/ssh_host* && \
|
|
mkdir -p /run/sshd
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
COPY sshd_config /etc/ssh/sshd_config
|
|
|
|
CMD ./entrypoint.sh
|