upgrade docker image

This commit is contained in:
AdamOsiowy123 2022-04-10 21:03:57 +02:00
parent e58dfd187e
commit 5e2309b6ea
3 changed files with 3 additions and 6 deletions

View File

@ -8,4 +8,4 @@ WORKDIR /code
COPY . /code/ COPY . /code/
RUN python3 -m pip install -r requirements.txt RUN python3 -m pip install -r requirements.txt
RUN mkdir /code/.kaggle && chmod o+w /code/.kaggle RUN mkdir /.kaggle && chmod o+w /.kaggle

View File

@ -1,5 +1,5 @@
node { node {
docker.image('s444452/ium:1.1').inside { docker.image('s444452/ium:1.2').inside {
stage('Preparation') { stage('Preparation') {
properties([ properties([
parameters([ parameters([
@ -28,9 +28,6 @@ node {
stage('Run script') { stage('Run script') {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}","CUTOFF=${params.CUTOFF}"]) { "KAGGLE_KEY=${params.KAGGLE_KEY}","CUTOFF=${params.CUTOFF}"]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'echo KAGGLE_KEY: $KAGGLE_KEY'
sh 'ls'
sh "python3 download_dataset.py '.' 'dataset.csv'" sh "python3 download_dataset.py '.' 'dataset.csv'"
} }
} }

View File

@ -1,5 +1,5 @@
node { node {
docker.image('s444452/ium:1.1').inside { docker.image('s444452/ium:1.2').inside {
stage('Preparation') { stage('Preparation') {
properties([parameters([ properties([parameters([
buildSelector( buildSelector(