base binderhub image on python:3.6
and get binderhub itself from WIP PR
-FROM ubuntu:17.04
+FROM python:3.6-alpine@sha256:00320c25fa72df54c7ef0181c9e55f59f58b1facb943cb825e4c65fb572ac74b
-RUN apt-get update && \
- apt-get install --yes --no-install-recommends \
- git \
- python3 \
- python3-setuptools \
- python3-pip && \
- apt-get clean
-
-RUN pip3 install --no-cache-dir git+https://github.com/jupyterhub/binderhub.git@1d6f130b3b
+# FIXME: temporary ref pending binderhub#110
+RUN pip install --no-cache-dir https://github.com/minrk/binderhub/archive/b5d005a.zip
ADD binderhub_config.py /etc
WORKDIR /etc
