Merge pull request #12721 from thibaultfaure/article/BAEL-5456-add-comment-in-dockerfile

BAEL-5456 code for the add comments in a dockerfile article
This commit is contained in:
davidmartinezbarua 2022-09-14 09:09:06 -03:00 committed by GitHub
commit 937c5738c9
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'