This commit is contained in:
Wojciech Lidwin 2023-05-11 19:57:26 +02:00
parent f1f3d2647a
commit 79f0ab18db
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN apt update && apt install -y figlet RUN apt update && apt install -y figlet
RUN apt install unzip -y
RUN apt install python3-pip -y RUN apt install python3-pip -y
RUN pip3 install kaggle RUN pip3 install kaggle

View File

@ -10,7 +10,7 @@ node {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
} }
stage('Dockerfile'){ stage('Dockerfile'){
def testImage = docker.image('s487197/ium:33') def testImage = docker.image('s487197/ium:34')
testImage.inside{ testImage.inside{
copyArtifacts filter: 'baltimore_train.csv', projectName: 's487197-create-dataset' copyArtifacts filter: 'baltimore_train.csv', projectName: 's487197-create-dataset'
sh "python3 ium_train.py" sh "python3 ium_train.py"