docker in jenkins

This commit is contained in:
Mateusz 2022-04-02 11:42:10 +02:00
parent 8360bd6a43
commit 866270cb82
4 changed files with 7 additions and 54915 deletions

View File

@ -3,13 +3,16 @@ FROM ubuntu:latest
# Install required dependencies
RUN apt update
RUN apt-get update
RUN apt install -y figlet
RUN export PATH=$PATH:/usr/local/bin/python”
RUN apt install python3-pip -y
RUN apt install unzip -y
RUN pip install kaggle
RUN pip install pandas
RUN pip install scikit-learn
RUN pip install matplotlib
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install pillow --global-option="build_ext" --global-option="--disable-zlib" --global-option="--disable-jpeg"
RUN pip3 install scikit-learn
RUN pip3 install matplotlib
RUN mkdir ~/.kaggle/
RUN echo '{"username":"wirus006","key":"c3323e37d3f91a0914d0172ef3c7c30c"}' > ~/.kaggle/kaggle.json

1
Jenkinsfile vendored
View File

@ -31,7 +31,6 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh "chmod +x -R ${env.WORKSPACE}"
sh './simple_init.sh'
sh 'echo hello world | figlet'
}
}

View File

@ -1 +0,0 @@
figlet -f script yourtexthere

54909
result.csv

File diff suppressed because it is too large Load Diff