From fe13f07ac967c9e5690ff354c4b5b31afd72ffff Mon Sep 17 00:00:00 2001
From: Adrianna Zaleska <adrzal@st.amu.edu.pl>
Date: Sat, 18 Apr 2020 17:12:48 +0200
Subject: [PATCH] dockerfile

---
 Dockerfile  | 12 ++++++++++++
 Jenkinsfile |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8c13884
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+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
+
diff --git a/Jenkinsfile b/Jenkinsfile
index acfc9b0..9d8e1a2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,5 @@
 pipeline {
-    agent any 
+    agent { dockerfile true }
     stages {
         stage('Stage 1') {
             steps {