change ssh config
This commit is contained in:
@ -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}/
|
||||
|
Reference in New Issue
Block a user