"Fossies" - the Fresh Open Source Software Archive

Member "bokeh-2.3.1/docker-tools/alpine/Dockerfile-conda" (7 Apr 2021, 1025 Bytes) of package /linux/www/bokeh-2.3.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #/* vim: set filetype=dockerfile : */
    2 FROM frolvlad/alpine-miniconda3
    3 LABEL org.pydata.bokeh.maintainer="Karel-van-de-Plassche <karelvandeplassche@gmail.com>"
    4 
    5 RUN apk add --no-cache \
    6     bash
    7 
    8 # set default conda channels
    9 RUN conda config --set auto_update_conda off
   10 RUN conda config --append channels bokeh
   11 RUN conda config --append channels conda-forge
   12 RUN conda config --get channels
   13 
   14 ARG BOKEH_VERSION
   15 
   16 RUN conda install --quiet --yes \
   17     bokeh=$BOKEH_VERSION \
   18     nodejs ;\
   19     conda clean -ay
   20 
   21 ARG TORNADO_VERSION
   22 RUN sh -c 'if [[ ! -z "$TORNADO_VERSION" ]]; then echo Installing old tornado $TORNADO_VERSION; conda install --quiet --yes tornado=$TORNADO_VERSION; conda clean -ay; fi'
   23 
   24 RUN python -c "import tornado; print('tornado version=' + tornado.version)"
   25 # Workaround, just calling `bokeh info` crashes
   26 # RUN env BOKEH_RESOURCES=cdn bokeh info
   27 
   28 # Add some bokeh examples to be run
   29 ENV BOKEH_EXAMPLE_DIR /bokeh_examples
   30 COPY examples/models $BOKEH_EXAMPLE_DIR/models
   31 COPY examples/app $BOKEH_EXAMPLE_DIR/app