Skip to content

Instantly share code, notes, and snippets.

@CamilleMo
Last active January 11, 2020 19:04
Show Gist options
  • Save CamilleMo/0eb17a3bb43c039d777ea283f0554ed7 to your computer and use it in GitHub Desktop.
Save CamilleMo/0eb17a3bb43c039d777ea283f0554ed7 to your computer and use it in GitHub Desktop.
Custom Dockerfile adds jupytext and graphviz # docker # graphviz # jupytext # dot # dockerfile
# Copyright (c) Camille Moatti.
# Distributed under the terms of the BSD License.
ARG BASE_CONTAINER=jupyter/datascience-notebook
FROM $BASE_CONTAINER
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python-pydot \
python-pydot-ng \
graphviz && \
rm -rf /var/lib/apt/lists/*
RUN conda install --quiet --yes -c conda-forge \
'jupytext' \
&& \
conda clean --all -f -y
RUN pip install --upgrade pip && \
pip install --no-cache-dir graphviz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment