conda
Some checks failed
s444417-training/pipeline/head There was a failure building this commit

This commit is contained in:
s444417 2022-05-21 13:38:25 +02:00
parent 68e41a262b
commit 0961509a8e
2 changed files with 19 additions and 7 deletions

View File

@ -5,11 +5,23 @@ FROM tensorflow/tensorflow:latest
FROM continuumio/miniconda3:latest FROM continuumio/miniconda3:latest
RUN apt update && apt install -y RUN apt update && apt install -y
# RUN apt-get install -y python3
RUN apt-get install -y unzip RUN apt-get install -y unzip
# RUN apt-get install -y python3-pip
RUN apt-get install unzip RUN apt-get install unzip
RUN apt-get install wget 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 WORKDIR /app
# Create the environment:
COPY . . COPY . .
RUN ls -la

View File

@ -12,12 +12,12 @@ pipeline {
) )
} }
stages { stages {
stage('conda') { // stage('conda') {
steps { // steps {
sh 'conda env create -f environment.yml' // sh 'conda env create -f environment.yml'
sh 'conda activate myenv' // sh 'conda activate myenv'
} // }
} // }
stage('Copy') { stage('Copy') {
steps { steps {
copyArtifacts projectName: 's444417-create-dataset' copyArtifacts projectName: 's444417-create-dataset'