Initial Dockerfile and Jenkinsfile
All checks were successful
gitea_dndsources/schedulord-frontend/pipeline/head This commit looks good

This commit is contained in:
Jesse James Isler 2022-06-08 19:35:09 +02:00
parent a9180f4e12
commit 41b32f50ec
2 changed files with 21 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -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"]

10
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,10 @@
pipeline {
agent { dockerfile true }
stages {
stage('Test') {
steps {
echo "Build has worked!"
}
}
}
}