Added Dockerfile

This commit is contained in:
Tomasz Ziętkiewicz 2019-04-26 01:21:12 +02:00
parent 70b65b91c4
commit c90157cab6
2 changed files with 15 additions and 3 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:latest
RUN apt update -y && apt install -y make
RUN apt install -y git
RUN apt install -y gcc
RUN gcc --version
RUN apt install -y build-essential
RUN git clone https://github.com/usnistgov/SCTK.git
WORKDIR SCTK
RUN make config && make all && make check && make install && make doc

7
Jenkinsfile vendored
View File

@ -1,10 +1,11 @@
pipeline {
agent any
agent { dockerfile true }
stages {
stage('Stage 1') {
stage('Test') {
steps {
echo 'Hello world!'
sh 'lsb_release -a'
}
}
}
}