2022-04-03 20:36:11 +02:00
|
|
|
FROM jenkins/jenkins:2.332.1-jdk11
|
|
|
|
USER root
|
|
|
|
RUN apt-get update && apt-get install -y lsb-release
|
|
|
|
RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \
|
|
|
|
https://download.docker.com/linux/debian/gpg
|
|
|
|
RUN echo "deb [arch=$(dpkg --print-architecture) \
|
|
|
|
signed-by=/usr/share/keyrings/docker-archive-keyring.asc] \
|
|
|
|
https://download.docker.com/linux/debian \
|
|
|
|
$(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
|
|
|
|
RUN apt-get update && apt-get install -y docker-ce-cli
|
|
|
|
USER jenkins
|
|
|
|
RUN jenkins-plugin-cli --plugins "blueocean:1.25.3 docker-workflow:1.28"
|
2022-04-03 19:10:49 +02:00
|
|
|
|
2022-04-03 20:36:11 +02:00
|
|
|
FROM python:3.7
|
2022-04-03 19:10:49 +02:00
|
|
|
WORKDIR /
|
|
|
|
RUN pip install kaggle
|
|
|
|
RUN pip install pandas
|
|
|
|
RUN pip install sklearn
|
|
|
|
COPY KaggleV2-May-2016.csv ./
|
|
|
|
COPY create_data.py ./
|
|
|
|
COPY stats_data.py ./
|
|
|
|
|
|
|
|
# CMD ["python", "./create_data.py"]
|
|
|
|
|
|
|
|
# CMD ["python", "./stats_data.py"]
|
|
|
|
|
|
|
|
# RUN kaggle datasets download -d joniarroba/noshowappointments
|
|
|
|
|
|
|
|
# RUN unzip -o noshowappointments.zip
|