ARG BASE_CONTAINER=jupyter/minimal-notebook
FROM $BASE_CONTAINER

# Is this a good place for this?  This directory was available and
# seemed like a good location for this.
WORKDIR /home/jovyan/work

ENV JUPYTER_ENABLE_LAB='yes'

RUN git clone https://github.com/educational-technology-collective/hwf-jupyterlab-telemetry && \
    cd hwf-jupyterlab-telemetry && \
    pip install -e . && \
    jupyter labextension develop . --overwrite && \
    jupyter server extension enable hwf-jupyterlab-telemetry