Initial Dockerfile and Jenkinsfile
All checks were successful
gitea_dndsources/schedulord-frontend/pipeline/head This commit looks good
All checks were successful
gitea_dndsources/schedulord-frontend/pipeline/head This commit looks good
This commit is contained in:
parent
a9180f4e12
commit
41b32f50ec
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
10
Jenkinsfile
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
pipeline {
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo "Build has worked!"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user