# Latest Ubuntu as starter FROM ubuntu:latest # Install required dependencies RUN export PATH="$PATH:/root/.local/bin" 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 pip3 install numpy RUN pip3 install kaggle RUN pip3 install pandas RUN pip3 install pillow RUN pip3 install scikit-learn RUN pip3 install matplotlib RUN pip3 install torchvision # Args ARG KAGGLE_USERNAME ARG KAGGLE_KEY ENV IS_DOCKER=True # Create app directory in image WORKDIR /app # Copy everything from jenkins to /app COPY . . # Create kaggle catalog for authenticate RUN mkdir /.kaggle/ && chmod o+w /.kaggle