From 0961509a8ec70a8438791808cb591af2819ef4d0 Mon Sep 17 00:00:00 2001 From: s444417 Date: Sat, 21 May 2022 13:38:25 +0200 Subject: [PATCH] conda --- Dockerfile | 14 +++++++++++++- Jenkinsfile3 | 12 ++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe2b27f..02841c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,23 @@ FROM tensorflow/tensorflow:latest FROM continuumio/miniconda3:latest RUN apt update && apt install -y +# RUN apt-get install -y python3 RUN apt-get install -y unzip +# RUN apt-get install -y python3-pip RUN apt-get install unzip RUN apt-get install wget +RUN python3 -m pip install kaggle +RUN python3 -m pip install pandas +RUN pip3 install matplotlib +RUN pip3 install sacred +RUN pip3 install sacred +RUN pip3 install pymongo +RUN pip3 install mlflow +RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle + WORKDIR /app -# Create the environment: COPY . . + +RUN ls -la diff --git a/Jenkinsfile3 b/Jenkinsfile3 index 76cf78b..e5d45b0 100644 --- a/Jenkinsfile3 +++ b/Jenkinsfile3 @@ -12,12 +12,12 @@ pipeline { ) } stages { - stage('conda') { - steps { - sh 'conda env create -f environment.yml' - sh 'conda activate myenv' - } - } + // stage('conda') { + // steps { + // sh 'conda env create -f environment.yml' + // sh 'conda activate myenv' + // } + // } stage('Copy') { steps { copyArtifacts projectName: 's444417-create-dataset'