BAEL-5456 code for the add comments in a dockerfile article

This commit is contained in:
thibault.faure 2022-09-11 21:44:46 +02:00
parent f9bd9e372c
commit db81033991
6 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,2 @@
FROM ubuntu:latest # Declare parent image
RUN echo 'This is a Baeldung tutorial'

View File

@ -0,0 +1,2 @@
FROM ubuntu:latest
RUN echo 'This is a Baeldung tutorial' # Print sentence

View File

@ -0,0 +1,2 @@
FROM ubuntu:latest
RUN echo 'This is a Baeldung tutorial'

View File

@ -0,0 +1,4 @@
# This file is a demonstration
# For a Baeldung article
FROM ubuntu:latest
RUN echo 'This is a Baeldung tutorial'

View File

@ -0,0 +1,4 @@
# escape=`
FROM ubuntu:latest
RUN echo 'This is a Baeldung tutorial&' `
&& echo 'Print more stuff'

View File

@ -0,0 +1,4 @@
# Declare parent image
FROM ubuntu:latest
# Print sentence
RUN echo 'This is a Baeldung tutorial'