Dockerfile
This commit is contained in:
parent
80a0d6ac8f
commit
7220799220
20
Dockerfile
20
Dockerfile
@ -1,17 +1,23 @@
|
||||
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"
|
||||
|
||||
FROM python:3.7
|
||||
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user