mirror of https://github.com/kubeflow/examples.git
24 lines
707 B
Docker
24 lines
707 B
Docker
# Create docker image for the demo
|
|
#
|
|
# This docker image is based on existing notebook image
|
|
# It also includes the dependencies required for training and deploying
|
|
# this way we can use it as the base image
|
|
FROM gcr.io/kubeflow-images-public/tensorflow-1.12.0-notebook-cpu:v0.5.0
|
|
|
|
USER root
|
|
|
|
COPY requirements.txt .
|
|
RUN pip3 --no-cache-dir install -r requirements.txt
|
|
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y emacs
|
|
|
|
RUN pip3 install https://storage.googleapis.com/ml-pipeline/release/0.1.20/kfp.tar.gz
|
|
|
|
# Checkout kubeflow/testing because we use some of its utilities
|
|
RUN mkdir -p /src/kubeflow && \
|
|
cd /src/kubeflow && \
|
|
git clone https://github.com/kubeflow/testing.git testing
|
|
|
|
USER jovyan
|