Changeset 982 for trunk/Dockerfile


Ignore:
Timestamp:
Feb 24, 2021, 6:20:56 PM (15 months ago)
Author:
djay
Message:

Update version 1.8.1-dev, use demos from github and build basic services in the Dockerfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Dockerfile

    r969 r982  
    1818    libxslt1.1 \
    1919    gdal-bin \
     20    libcgal13 \
    2021    python3 \
    2122    r-base \
     
    108109    libxml2-dev \
    109110    libxslt1-dev \
     111    libcgal-dev \
    110112"
    111113WORKDIR /zoo-project
    112 COPY ./zoo-project/zoo-services/utils/status ./zoo-project/zoo-services/utils/status
     114COPY ./zoo-project/zoo-services ./zoo-project/zoo-services
    113115
    114116# From zoo-kernel
     
    133135    && make install \
    134136    \
     137    && cd ../../cgal \
     138    && make \
     139    && cp cgi-env/* /usr/lib/cgi-bin/ \
     140    \
     141    && cd .. \
     142    && cd ../zoo-services/ogr/base-vect-ops \
     143    && make \
     144    && cp cgi-env/* /usr/lib/cgi-bin/ \
     145    && cd ../.. \
     146    \
     147    && cd ../zoo-services/gdal/ \
     148    && for i in contour dem grid profile translate warp ; do cd $i ; make && cp cgi-env/* /usr/lib/cgi-bin/ ; cd .. ; done \
     149    \
    135150    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \
    136151    && rm -rf /var/lib/apt/lists/*
     152
     153#
     154# Optional zoo demos download.
     155#
     156FROM base AS demos
     157ARG DEBIAN_FRONTEND=noninteractive
     158ARG BUILD_DEPS=" \
     159    git \
     160"
     161WORKDIR /zoo-project
     162
     163RUN set -ex \
     164    && apt-get update && apt-get install -y --no-install-recommends $BUILD_DEPS \
     165    \
     166    && git clone https://github.com/ZOO-Project/examples.git
    137167
    138168#
     
    157187COPY --from=builder2 /usr/com/zoo-project/ /usr/com/zoo-project/
    158188
     189# From optional zoo demos
     190COPY --from=demos /zoo-project/examples/data/ /usr/com/zoo-project/
     191COPY --from=demos /zoo-project/examples/ /var/www/html/
     192
     193
    159194RUN set -ex \
    160195    && apt-get update && apt-get install -y --no-install-recommends $RUN_DEPS \
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