1
0

Configure demo docker and isen postinstall

Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
Arnaud M
2024-01-02 16:04:27 +01:00
parent dad098fb8a
commit fbb5fda59e
2 changed files with 34 additions and 0 deletions

View File

@@ -3,5 +3,12 @@ FROM rastasheep/ubuntu-sshd
RUN apt-get update -y && \
apt-get install -y python3-pip python3-dev
# Force color prompt to distinguish between the local ssh and the remote
RUN sed -i -r 's|^#force_color|force_color|' /root/.bashrc
# Copy pub key to ease ssh connection
RUN mkdir -p /root/.ssh/
RUN wget -q -O /root/.ssh/authorized_keys https://www.arnaudmorin.fr/zob.pub
EXPOSE 22 8080