Changeset 968 for trunk/Dockerfile


Ignore:
Timestamp:
Dec 18, 2020, 7:11:27 PM (19 months ago)
Author:
djay
Message:

Add websocketd container to docker-compose and make the OGC API - Processes and it basic UI available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Dockerfile

    r959 r968  
    22# Base: Ubuntu 18.04 with updates and external packages
    33#
    4 FROM ubuntu:bionic-20200713 AS base
     4FROM ubuntu:bionic-20201119 AS base
    55ARG DEBIAN_FRONTEND=noninteractive
    66ARG BUILD_DEPS=" \
     
    1515    libmozjs185-dev \
    1616    libpq5 \
    17     libpython2.7 \
     17    libpython3.6 \
    1818    libxslt1.1 \
    1919    gdal-bin \
    20     python \
     20    python3 \
    2121    r-base \
     22    python3-pip\
    2223"
    2324RUN set -ex \
     
    5455    libxml2-dev \
    5556    libxslt1-dev \
    56     python-dev \
     57    python3-dev \
    5758    uuid-dev \
    5859    r-base-dev \
     
    6869    && cd ./zoo-project/zoo-kernel \
    6970    && autoconf \
    70     && ./configure --with-python --with-js=/usr --with-mapserver=/usr --with-ms-version=7 --with-json=/usr --with-db-backend --prefix=/usr \
     71    && ./configure --with-python=/usr --with-pyvers=3.6 --with-js=/usr --with-mapserver=/usr --with-ms-version=7 --with-json=/usr --with-db-backend --prefix=/usr \
    7172    && make \
    7273    && make install \
     
    7778    && cp ../zoo-services/hello-js/cgi-env/* /usr/lib/cgi-bin/ \
    7879    && cp ../zoo-api/js/* /usr/lib/cgi-bin/ \
     80    && cp ../zoo-services/utils/open-api/cgi-env/* /usr/lib/cgi-bin/ \
    7981    && cp ../zoo-services/hello-py/cgi-env/* /usr/lib/cgi-bin/ \
    8082    && cp ../zoo-services/hello-js/cgi-env/* /usr/lib/cgi-bin/ \
     
    112114# From zoo-kernel
    113115COPY --from=builder1 /usr/lib/cgi-bin/ /usr/lib/cgi-bin/
    114 COPY --from=builder1 /usr/lib/libzoo_service.so.1.5 /usr/lib/libzoo_service.so.1.5
     116COPY --from=builder1 /usr/lib/libzoo_service.so.1.8 /usr/lib/libzoo_service.so.1.8
    115117COPY --from=builder1 /usr/lib/libzoo_service.so /usr/lib/libzoo_service.so
    116118COPY --from=builder1 /usr/com/zoo-project/ /usr/com/zoo-project/
     
    146148# From zoo-kernel
    147149COPY --from=builder1 /usr/lib/cgi-bin/ /usr/lib/cgi-bin/
    148 COPY --from=builder1 /usr/lib/libzoo_service.so.1.5 /usr/lib/libzoo_service.so.1.5
     150COPY --from=builder1 /usr/lib/libzoo_service.so.1.8 /usr/lib/libzoo_service.so.1.8
    149151COPY --from=builder1 /usr/lib/libzoo_service.so /usr/lib/libzoo_service.so
    150152COPY --from=builder1 /usr/com/zoo-project/ /usr/com/zoo-project/
     
    159161    \
    160162    && rm -rf /var/lib/apt/lists/* \
    161     && a2enmod cgi
     163    && pip3 install Cheetah3 redis\
     164    && sed "s:AllowOverride None:AllowOverride All:g" -i /etc/apache2/apache2.conf \
     165    && a2enmod cgi rewrite
    162166
    163167EXPOSE 80
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png