Merge branch 'master' of https://git.wmi.amu.edu.pl/s449288/ium_s449288
merge
This commit is contained in:
commit
65baaa6431
17
Dockerfile
17
Dockerfile
@ -2,16 +2,11 @@ FROM ubuntu:latest
|
||||
|
||||
WORKDIR /ium
|
||||
|
||||
RUN apt update && apt install -y python3-pip unzip
|
||||
RUN apt update && apt install -y python3-pip
|
||||
|
||||
RUN pip3 install --user kaggle
|
||||
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc
|
||||
RUN pip3 install pandas
|
||||
RUN pip3 install numpy
|
||||
RUN pip3 install sklearn
|
||||
|
||||
RUN pip3 install --user pandas
|
||||
RUN pip3 install --user numpy
|
||||
RUN pip3 install --user sklearn
|
||||
|
||||
COPY ./download_dataset.sh ./
|
||||
COPY ./process_data.py ./
|
||||
|
||||
RUN chmod u+x ./download_dataset.sh ./process_data.py
|
||||
COPY ./lego_sets.csv ./
|
||||
COPY ./process_dataset.py ./
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -13,15 +13,13 @@ pipeline {
|
||||
)
|
||||
}
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY}"
|
||||
dockerfile true
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
echo 'Downloading dataset...'
|
||||
sh './download_dataset.sh'
|
||||
sh 'chmod u+x ./process_dataset.py'
|
||||
echo 'Dataset downloaded'
|
||||
echo 'Processing dataset...'
|
||||
sh 'python3 process_dataset.py'
|
||||
|
Loading…
Reference in New Issue
Block a user