From 09672acefd789f7a634b5662d9e9eca2a91a7514 Mon Sep 17 00:00:00 2001 From: Ostantia <113256480+Ostantia@users.noreply.github.com> Date: Mon, 10 Apr 2023 10:31:06 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20support=20pour=20d=C3=A9finition?= =?UTF-8?q?=20du=20port=20d'=C3=A9coute=20et=20formattage=20de=20sshd=5Fco?= =?UTF-8?q?nfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 079a02d..7421172 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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