From 839ef91f056ea339120a00f9ad6bd1b8de4ecfc7 Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Thu, 16 Feb 2023 15:24:27 +0100 Subject: [PATCH] Add service2 example --- Dockerfile | 2 +- assets/service2/bar.md | 3 +++ docker-compose.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 assets/service2/bar.md diff --git a/Dockerfile b/Dockerfile index 5e15cec..0d2dde4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu -RUN apt update && apt install openssh-server sudo -y +RUN apt update && apt install openssh-server sudo -y RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test RUN echo 'test:test' | chpasswd RUN service ssh start diff --git a/assets/service2/bar.md b/assets/service2/bar.md new file mode 100644 index 0000000..db60719 --- /dev/null +++ b/assets/service2/bar.md @@ -0,0 +1,3 @@ +# Intestazione 1 +Paragrafo. + diff --git a/docker-compose.yml b/docker-compose.yml index 437304a..41e5ed0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,4 @@ services: ports: - "2222:22" - +