From 096676dcde3599bcaaa194d37858b7ca0d2d9d33 Mon Sep 17 00:00:00 2001 From: Aleksandr Volochnev Date: Wed, 23 Oct 2019 15:47:11 +0200 Subject: [PATCH] Removed custom image --- docker-compose.yml | 2 +- pyspark-cassandra/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 pyspark-cassandra/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 001f90c..a1e36f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: - "9077:9077" - "10000:10000" jupyter: - image: hadesarchitect/jupyter-pyspark-cassandra + build: ./pyspark-cassandra volumes: - ./jupyter:/home/jovyan ports: diff --git a/pyspark-cassandra/Dockerfile b/pyspark-cassandra/Dockerfile new file mode 100644 index 0000000..8f88b92 --- /dev/null +++ b/pyspark-cassandra/Dockerfile @@ -0,0 +1,4 @@ +FROM jupyter/pyspark-notebook +USER root +RUN pip install cassandra-driver +USER jovyan