Zadanie 'Docker'

This commit is contained in:
Krzysztof Moś 2019-05-15 23:19:07 +02:00
parent adfca04103
commit a17752ac88
2 changed files with 16 additions and 5 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

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent any agent { dockerfile true }
stages { stages {
stage('Stage 1') { stage('Stage 1') {
steps { steps {