diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..47143f2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +#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"] \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..459a82e --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,10 @@ +pipeline { + agent { dockerfile true } + stages { + stage('Test') { + steps { + echo "Build has worked!" + } + } + } +} \ No newline at end of file