ssube/prometheus-sql-adapter

View on GitHub
docker/Dockerfile.jupyter-11

Summary

Maintainability
Test Coverage
FROM jupyter/scipy-notebook

USER root

ENV PG_MAJOR 11
RUN apt-get update \
    && apt-get install -y gettext-base postgresql-server-dev-$PG_MAJOR \
    && 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