diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f4f2556 --- /dev/null +++ b/Dockerfile @@ -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 + diff --git a/Jenkinsfile b/Jenkinsfile index e7d04ab..65de871 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,11 @@ pipeline { - agent any + agent { dockerfile true } stages { - stage('Stage 1') { + stage('Test') { steps { - echo 'Hello world!' + sh 'lsb_release -a' } } } } +