dockerfile

This commit is contained in:
Dawid Kubicki 2019-04-26 12:37:59 +02:00
parent c2c8f8a31f
commit 9361b7831d
2 changed files with 15 additions and 0 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
ENV PATH=$PATH:/SCTK/bin

4
Jenkinsfile vendored
View File

@ -3,4 +3,8 @@ node{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s412146/s412146-mlworkshops.git']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s412146/s412146-mlworkshops.git']]])
sh label: '', script: './script.sh' sh label: '', script: './script.sh'
archiveArtifacts 'output' archiveArtifacts 'output'
def customImage = docker.build("my-custom-image")
customImage.inside {
sh 'echo works'
}
} }