Changeset 968 for trunk/Dockerfile
- Timestamp:
- Dec 18, 2020, 7:11:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Dockerfile
r959 r968 2 2 # Base: Ubuntu 18.04 with updates and external packages 3 3 # 4 FROM ubuntu:bionic-2020 0713AS base4 FROM ubuntu:bionic-20201119 AS base 5 5 ARG DEBIAN_FRONTEND=noninteractive 6 6 ARG BUILD_DEPS=" \ … … 15 15 libmozjs185-dev \ 16 16 libpq5 \ 17 libpython 2.7\17 libpython3.6 \ 18 18 libxslt1.1 \ 19 19 gdal-bin \ 20 python \20 python3 \ 21 21 r-base \ 22 python3-pip\ 22 23 " 23 24 RUN set -ex \ … … 54 55 libxml2-dev \ 55 56 libxslt1-dev \ 56 python -dev \57 python3-dev \ 57 58 uuid-dev \ 58 59 r-base-dev \ … … 68 69 && cd ./zoo-project/zoo-kernel \ 69 70 && 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 \ 71 72 && make \ 72 73 && make install \ … … 77 78 && cp ../zoo-services/hello-js/cgi-env/* /usr/lib/cgi-bin/ \ 78 79 && cp ../zoo-api/js/* /usr/lib/cgi-bin/ \ 80 && cp ../zoo-services/utils/open-api/cgi-env/* /usr/lib/cgi-bin/ \ 79 81 && cp ../zoo-services/hello-py/cgi-env/* /usr/lib/cgi-bin/ \ 80 82 && cp ../zoo-services/hello-js/cgi-env/* /usr/lib/cgi-bin/ \ … … 112 114 # From zoo-kernel 113 115 COPY --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.5116 COPY --from=builder1 /usr/lib/libzoo_service.so.1.8 /usr/lib/libzoo_service.so.1.8 115 117 COPY --from=builder1 /usr/lib/libzoo_service.so /usr/lib/libzoo_service.so 116 118 COPY --from=builder1 /usr/com/zoo-project/ /usr/com/zoo-project/ … … 146 148 # From zoo-kernel 147 149 COPY --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.5150 COPY --from=builder1 /usr/lib/libzoo_service.so.1.8 /usr/lib/libzoo_service.so.1.8 149 151 COPY --from=builder1 /usr/lib/libzoo_service.so /usr/lib/libzoo_service.so 150 152 COPY --from=builder1 /usr/com/zoo-project/ /usr/com/zoo-project/ … … 159 161 \ 160 162 && 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 162 166 163 167 EXPOSE 80
Note: See TracChangeset
for help on using the changeset viewer.