Last active
January 11, 2020 19:04
-
-
Save CamilleMo/0eb17a3bb43c039d777ea283f0554ed7 to your computer and use it in GitHub Desktop.
Custom Dockerfile adds jupytext and graphviz # docker # graphviz # jupytext # dot # dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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