BAEL-5456 code for the add comments in a dockerfile article
This commit is contained in:
parent
f9bd9e372c
commit
db81033991
@ -0,0 +1,2 @@
|
|||||||
|
FROM ubuntu:latest # Declare parent image
|
||||||
|
RUN echo 'This is a Baeldung tutorial'
|
@ -0,0 +1,2 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
RUN echo 'This is a Baeldung tutorial' # Print sentence
|
2
docker-modules/docker-images/comments/Dockerfile-base
Normal file
2
docker-modules/docker-images/comments/Dockerfile-base
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
RUN echo 'This is a Baeldung tutorial'
|
@ -0,0 +1,4 @@
|
|||||||
|
# This file is a demonstration
|
||||||
|
# For a Baeldung article
|
||||||
|
FROM ubuntu:latest
|
||||||
|
RUN echo 'This is a Baeldung tutorial'
|
@ -0,0 +1,4 @@
|
|||||||
|
# escape=`
|
||||||
|
FROM ubuntu:latest
|
||||||
|
RUN echo 'This is a Baeldung tutorial&' `
|
||||||
|
&& echo 'Print more stuff'
|
@ -0,0 +1,4 @@
|
|||||||
|
# Declare parent image
|
||||||
|
FROM ubuntu:latest
|
||||||
|
# Print sentence
|
||||||
|
RUN echo 'This is a Baeldung tutorial'
|
Loading…
x
Reference in New Issue
Block a user