ssube/prometheus-sql-adapter

View on GitHub
docker/Dockerfile.jupyter-10

Summary

Maintainability
Test Coverage
FROM jupyter/scipy-notebook

USER root

ENV PG_MAJOR 10
RUN apt-get update \
    && apt-get install -y gettext-base git postgresql-server-dev-$PG_MAJOR ssh \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade jupyterlab-git psycopg2

USER jovyan

RUN jupyter lab build

RUN mkdir -p ${HOME}/.ssh \
 && ssh-keyscan github.com gitlab.com git.apextoaster.com >> ${HOME}/.ssh/known_hosts