Browse Source

Add service2 example

Andrea Fazzi 1 year ago
parent
commit
839ef91f05
3 changed files with 5 additions and 2 deletions
  1. 1 1
      Dockerfile
  2. 3 0
      assets/service2/bar.md
  3. 1 1
      docker-compose.yml

+ 1 - 1
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

+ 3 - 0
assets/service2/bar.md

@@ -0,0 +1,3 @@
+# Intestazione 1
+Paragrafo.
+

+ 1 - 1
docker-compose.yml

@@ -6,4 +6,4 @@ services:
     ports:
       - "2222:22"
 
-    
+