- Timestamp:
- Feb 24, 2021, 6:20:56 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Dockerfile
r969 r982 18 18 libxslt1.1 \ 19 19 gdal-bin \ 20 libcgal13 \ 20 21 python3 \ 21 22 r-base \ … … 108 109 libxml2-dev \ 109 110 libxslt1-dev \ 111 libcgal-dev \ 110 112 " 111 113 WORKDIR /zoo-project 112 COPY ./zoo-project/zoo-services /utils/status ./zoo-project/zoo-services/utils/status114 COPY ./zoo-project/zoo-services ./zoo-project/zoo-services 113 115 114 116 # From zoo-kernel … … 133 135 && make install \ 134 136 \ 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 \ 135 150 && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \ 136 151 && rm -rf /var/lib/apt/lists/* 152 153 # 154 # Optional zoo demos download. 155 # 156 FROM base AS demos 157 ARG DEBIAN_FRONTEND=noninteractive 158 ARG BUILD_DEPS=" \ 159 git \ 160 " 161 WORKDIR /zoo-project 162 163 RUN 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 137 167 138 168 # … … 157 187 COPY --from=builder2 /usr/com/zoo-project/ /usr/com/zoo-project/ 158 188 189 # From optional zoo demos 190 COPY --from=demos /zoo-project/examples/data/ /usr/com/zoo-project/ 191 COPY --from=demos /zoo-project/examples/ /var/www/html/ 192 193 159 194 RUN set -ex \ 160 195 && apt-get update && apt-get install -y --no-install-recommends $RUN_DEPS \ -
trunk/docker-compose.yml
r968 r982 14 14 - ./zoo-project/zoo-services/utils/open-api/templates/index.html:/var/www/index.html 15 15 - ./zoo-project/zoo-services/utils/open-api/static:/var/www/html/static 16 - ../zoo-demos/zoo-demos-202102/examples:/var/www/html/examples 17 - ../zoo-demos/zoo-demos-202102/data/topofr.tif:/usr/com/zoo-project/topofr.tif 16 18 depends_on: 17 19 - pgbouncer -
trunk/zoo-project/HISTORY.txt
r980 r982 1 Version 1.8.1 2 * Deploy demo HTML UI from github from the Dockerfile 3 * Add demo ZOO-Services build in the Dockerfile 1 4 Version 1.8.0 2 5 * Support raw response in OGC API - Processes -
trunk/zoo-project/zoo-kernel/Makefile.in
r980 r982 4 4 5 5 version.h: Makefile 6 echo "#define ZOO_VERSION \"1.8. 0`svnversion`\"" > version.h6 echo "#define ZOO_VERSION \"1.8.1-dev `svnversion`\"" > version.h 7 7 echo "@ETC_DEF@" >> version.h 8 8 echo "#define LOCALEDIR \"@localedir@\"" >> version.h -
trunk/zoo-project/zoo-kernel/configure.ac
r980 r982 1 AC_INIT([ZOO Kernel], [1.8. 0], [bugs@zoo-project.org])1 AC_INIT([ZOO Kernel], [1.8.1-dev], [bugs@zoo-project.org]) 2 2 3 3 AC_CONFIG_MACRO_DIR([macros]) -
trunk/zoo-project/zoo-kernel/server_internal.c
r967 r982 375 375 zStatStruct f_status; 376 376 int s=zStat(filename, &f_status); 377 sprintf(rsize,"%l ld",f_status.st_size);377 sprintf(rsize,"%ld",f_status.st_size); 378 378 if(getMap(content,"storage")==NULL){ 379 379 map* tmpMap1=getMap(content,"value"); -
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r974 r982 3418 3418 signal (SIGABRT, donothing); 3419 3419 #endif 3420 fprintf(stderr,"%s %d \n",__FILE__,__LINE__);3421 fflush(stderr);3422 3420 3423 3421 if (((int) zGetpid ()) != cpid || cgiSid != NULL) 3424 3422 { 3425 fprintf(stderr,"%s %d \n",__FILE__,__LINE__);3426 fflush(stderr);3427 3423 if (eres == SERVICE_SUCCEEDED) 3428 3424 #ifdef USE_CALLBACK -
trunk/zoo-project/zoo-services/cgal/voronoi.c
r980 r982 46 46 47 47 int Voronoi(maps*& conf,maps*& inputs,maps*& outputs){ 48 //#ifdef DEBUG48 #ifdef DEBUG 49 49 fprintf(stderr,"\nService internal print\nStarting\n"); 50 //#endif50 #endif 51 51 //return SERVICE_FAILED; 52 52 maps* cursor=inputs; … … 56 56 tmpm=getMapFromMaps(inputs,"InputPoints","value"); 57 57 58 #ifdef DEBUG 58 59 fprintf(stderr," **** %s %d\n",__FILE__,__LINE__); 59 60 fflush(stderr); 61 #endif 60 62 61 63 OGRRegisterAll(); … … 67 69 return SERVICE_FAILED; 68 70 } 71 #ifdef DEBUG 69 72 fprintf(stderr," **** %s %d\n",__FILE__,__LINE__); 70 73 fflush(stderr); 74 #endif 71 75 72 76 Triangulation T; … … 204 208 const Pointz p1=tmp->source(); 205 209 const Pointz p2=tmp->target(); 206 fprintf(stderr,"P1 %d %d | P2 %d %d\n",p1.x(),p1.y(),p2.x(),p2.y());207 210 #ifdef DEBUG 208 211 fprintf(stderr,"P1 %d %d | P2 %d %d\n",p1.x(),p1.y(),p2.x(),p2.y());
Note: See TracChangeset
for help on using the changeset viewer.