From f0d59be6c1d3f4e311c4cbdd42c8059c85b11071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Parafin=CC=81ski?= Date: Thu, 31 Mar 2022 21:32:23 +0200 Subject: [PATCH] add no-cache flag to docker build and remove download.sh script from docker build --- Dockerfile | 1 - Jenkinsfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 486a40a..0528305 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ RUN pip3 install --user sklearn WORKDIR /dataset COPY ./script.py ./ -COPY ./download.sh ./ COPY ./imdb_top_1000.csv ./ CMD python3 ./script.py diff --git a/Jenkinsfile b/Jenkinsfile index afb39fe..5a4ed38 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { stage ("Build Docker image") { steps { - sh 'docker build -t ium_docker .' + sh 'docker build --no-cache -t ium_docker .' } } }