FROM debian:11
ADD node_gpg.asc /etc/apt/
RUN  apt-get update \
    && apt-get install -y gnupg ca-certificates\
    && apt-key add /etc/apt/node_gpg.asc \
    && apt-get update \
    && apt-get install -y \
      firefox-esr gettext-base python3-pip \
      python3-httpbin git curl x11-apps xvfb unzip \
      libhdf5-dev \
      pkgconf \
      nodejs npm \
    && apt-get install -f

RUN pip3 install pylint pytest
RUN pip3 install caosdb>=0.7.4
RUN pip3 install pandas
RUN pip3 install git+https://gitlab.com/caosdb/caosdb-advanced-user-tools.git@dev
# For automatic documentation
# RUN npm install -g jsdoc
# RUN npm install -g jsdoc-sphinx
RUN pip3 install sphinx-js sphinx-autoapi recommonmark sphinx-rtd-theme
