From 5b72c0283ecc1606663982e93f80a7e56bb254fa Mon Sep 17 00:00:00 2001 From: Diana-Krol Date: Fri, 3 Apr 2020 16:07:22 +0200 Subject: [PATCH] pierwszy --- dockerfile | 11 +++++++++++ jenkinsfile | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) 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 7c0e74d..45a1b56 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -1,5 +1,5 @@ pipeline { - agent any + agent { dockerfile true } stages { stage('Stage 1') { steps {