From 6f4a723e344a869a5c816e47154065d418b471b3 Mon Sep 17 00:00:00 2001 From: laskau Date: Fri, 26 Apr 2019 12:21:17 +0200 Subject: [PATCH] docker2 --- Dockerfile | 11 +++++++++++ Jenkinsfile | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b6b59c --- /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 +ENV PATH=$PATH:/SCTK/bin \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index d97c159..9af3ae2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,6 @@ pipeline { - agent { - dockerfile true - } + agent { dockerfile true } stages { stage('Copy Archive') {