dockerfile
This commit is contained in:
parent
c2c8f8a31f
commit
9361b7831d
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
4
Jenkinsfile
vendored
@ -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'
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user