Ajout du support pour définition du port d'écoute et formattage de sshd_config

This commit is contained in:
Ostantia 2023-04-10 10:31:06 +02:00 committed by GitHub
parent 49eea7a3eb
commit 09672acefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ USER root
ENV BASTIONUSER="bastion"
ENV BASTIONPASS="bastion"
ENV HOSTNAME="monosphere-bastion"
ENV PORT=22
ARG MONOSPHERE_VERSION="0.4.3 Alpha"
#Preparations
@ -59,7 +60,7 @@ RUN chown -R root:root /root/scripts
RUN chmod 700 /root/scripts/*.sh
#Port exposition
EXPOSE 22
EXPOSE $PORT
#Issuing start entrypoint