Ajout du support pour définition du port d'écoute et formattage de sshd_config
This commit is contained in:
parent
49eea7a3eb
commit
09672acefd
@ -10,6 +10,7 @@ USER root
|
|||||||
ENV BASTIONUSER="bastion"
|
ENV BASTIONUSER="bastion"
|
||||||
ENV BASTIONPASS="bastion"
|
ENV BASTIONPASS="bastion"
|
||||||
ENV HOSTNAME="monosphere-bastion"
|
ENV HOSTNAME="monosphere-bastion"
|
||||||
|
ENV PORT=22
|
||||||
ARG MONOSPHERE_VERSION="0.4.3 Alpha"
|
ARG MONOSPHERE_VERSION="0.4.3 Alpha"
|
||||||
|
|
||||||
#Preparations
|
#Preparations
|
||||||
@ -59,7 +60,7 @@ RUN chown -R root:root /root/scripts
|
|||||||
RUN chmod 700 /root/scripts/*.sh
|
RUN chmod 700 /root/scripts/*.sh
|
||||||
|
|
||||||
#Port exposition
|
#Port exposition
|
||||||
EXPOSE 22
|
EXPOSE $PORT
|
||||||
|
|
||||||
|
|
||||||
#Issuing start entrypoint
|
#Issuing start entrypoint
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user