use ENV DEBIAN_FRONTEND noninteractive
This commit is contained in:
parent
29a0fff311
commit
147826ed92
11
Dockerfile
11
Dockerfile
@ -3,10 +3,17 @@ FROM ubuntu:latest
|
|||||||
RUN apt update -y && apt install -y make
|
RUN apt update -y && apt install -y make
|
||||||
RUN apt install -y git
|
RUN apt install -y git
|
||||||
RUN apt install -y gcc
|
RUN apt install -y gcc
|
||||||
RUN apt install -y python3
|
|
||||||
RUN apt install -y python-pandas
|
|
||||||
RUN gcc --version
|
RUN gcc --version
|
||||||
RUN apt install -y build-essential
|
RUN apt install -y build-essential
|
||||||
|
|
||||||
|
# install python
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y python3-pip python3-dev \
|
||||||
|
&& cd /usr/local/bin \
|
||||||
|
&& ln -s /usr/bin/python3 python \
|
||||||
|
&& pip3 install --upgrade pip
|
||||||
|
|
||||||
RUN git clone https://github.com/usnistgov/SCTK.git
|
RUN git clone https://github.com/usnistgov/SCTK.git
|
||||||
WORKDIR SCTK
|
WORKDIR SCTK
|
||||||
RUN make config && make all && make check && make install && make doc
|
RUN make config && make all && make check && make install && make doc
|
||||||
|
44
Jenkinsfile
vendored
44
Jenkinsfile
vendored
@ -1,30 +1,32 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent { dockerfile true }
|
agent { dockerfile true }
|
||||||
stages {
|
stages {
|
||||||
stage('Zadanie 1 - Jenkins') {
|
parallel {
|
||||||
steps {
|
stage('Zadanie 1 - Jenkins') {
|
||||||
echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval'
|
steps {
|
||||||
script {
|
echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval'
|
||||||
copyArtifacts filter: '*',
|
script {
|
||||||
fingerprintArtifacts: true,
|
copyArtifacts filter: '*',
|
||||||
projectName: 'ASR-eval',
|
fingerprintArtifacts: true,
|
||||||
selector: lastSuccessful(),
|
projectName: 'ASR-eval',
|
||||||
target: 'ASR-eval/'
|
selector: lastSuccessful(),
|
||||||
|
target: 'ASR-eval/'
|
||||||
|
}
|
||||||
|
echo 'Sklonowanie repozytorium git'
|
||||||
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]])
|
||||||
|
echo 'Wywołanie skryptu shella'
|
||||||
|
sh 'chmod 755 ./zadanie1/script.sh'
|
||||||
|
sh './zadanie1/script.sh'
|
||||||
|
echo 'Zarchiwizowanie wyniku'
|
||||||
|
archiveArtifacts 'zadanie1/output.txt'
|
||||||
}
|
}
|
||||||
echo 'Sklonowanie repozytorium git'
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]])
|
|
||||||
echo 'Wywołanie skryptu shella'
|
|
||||||
sh 'chmod 755 ./zadanie1/script.sh'
|
|
||||||
sh './zadanie1/script.sh'
|
|
||||||
echo 'Zarchiwizowanie wyniku'
|
|
||||||
archiveArtifacts 'zadanie1/output.txt'
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
stage('Zadanie 2 - Docker') {
|
stage('Zadanie 2 - Docker') {
|
||||||
steps {
|
steps {
|
||||||
sh 'gcc --version'
|
sh 'gcc --version'
|
||||||
sh 'git --version'
|
sh 'git --version'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user