docker in jenkins
This commit is contained in:
parent
8360bd6a43
commit
866270cb82
11
Dockerfile
11
Dockerfile
@ -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
1
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
figlet -f script yourtexthere
|
54909
result.csv
54909
result.csv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user