change ssh config

This commit is contained in:
Wolfgang Hottgenroth
2022-07-20 17:37:02 +02:00
parent 5b6c6fa7ca
commit 0764e7e029
2 changed files with 7 additions and 3 deletions

View File

@ -6,8 +6,12 @@ RUN \
apt update && \
apt install -y cron && \
apt install -y openssh-server && \
apt install -y curl && \
mkdir -p ${APP_DIR} && \
useradd -d ${APP_DIR} -u 1000 user
useradd -d ${APP_DIR} -u 1000 user && \
mkdir -p ${APP_DIR}/.ssh && \
curl https://home.hottis.de/mysshkeys.pub > ${APP_DIR}/.ssh/authorized_keys
COPY crontab /etc/
COPY testscript.sh ${APP_DIR}/