11 lines
369 B
Docker
11 lines
369 B
Docker
|
#FROM - Image to start building on.
|
||
|
FROM ubuntu:14.04
|
||
|
|
||
|
#MAINTAINER - Identifies the maintainer of the dockerfile.
|
||
|
MAINTAINER jesse.isler@gmail.com
|
||
|
|
||
|
#RUN - Runs a command in the container
|
||
|
RUN echo "Hello world" > /tmp/hello_world.txt
|
||
|
|
||
|
#CMD - Identifies the command that should be used by default when running the image as a container.
|
||
|
CMD ["cat", "/tmp/hello_world.txt"]
|