فهرست منبع

docker: fix configuration error and warnings after autoconf-2.69 update (#1869)

- Remove single quotes around include directory in configuration
- Remove non-existing configuration options
nilason 3 سال پیش
والد
کامیت
7940e8373d
3فایلهای تغییر یافته به همراه6 افزوده شده و 10 حذف شده
  1. 2 4
      docker/alpine/Dockerfile
  2. 2 3
      docker/debian/Dockerfile
  3. 2 3
      docker/ubuntu/Dockerfile

+ 2 - 4
docker/alpine/Dockerfile

@@ -89,17 +89,16 @@ FROM common as build
 ENV GRASS_CONFIG="\
       --enable-largefile \
       --with-cxx \
-      --with-proj --with-proj-share=/usr/share/proj \
+      --with-proj-share=/usr/share/proj \
       --with-gdal \
       --with-pdal \
-      --with-python \
       --with-geos \
       --with-sqlite \
       --with-bzlib \
       --with-zstd \
       --with-cairo --with-cairo-ldflags=-lfontconfig \
       --with-fftw \
-      --with-postgres --with-postgres-includes='/usr/include/postgresql' \
+      --with-postgres --with-postgres-includes=/usr/include/postgresql \
       --without-freetype \
       --without-openmp \
       --without-opengl \
@@ -107,7 +106,6 @@ ENV GRASS_CONFIG="\
       --without-mysql \
       --without-odbc \
       --without-openmp \
-      --without-ffmpeg \
       "
 
 # Set environmental variables for GRASS GIS compilation, without debug symbols

+ 2 - 3
docker/debian/Dockerfile

@@ -174,14 +174,14 @@ RUN make distclean || echo "nothing to clean"
 RUN /src/grass_build/configure \
   --with-cxx \
   --enable-largefile \
-  --with-proj --with-proj-share=/usr/share/proj \
+  --with-proj-share=/usr/share/proj \
   --with-gdal=/usr/bin/gdal-config \
   --with-geos \
   --with-sqlite \
   --with-cairo --with-cairo-ldflags=-lfontconfig \
   --with-freetype --with-freetype-includes="/usr/include/freetype2/" \
   --with-fftw \
-  --with-postgres=yes --with-postgres-includes="/usr/include/postgresql" \
+  --with-postgres --with-postgres-includes="/usr/include/postgresql" \
   --with-netcdf \
   --with-zstd \
   --with-bzlib \
@@ -189,7 +189,6 @@ RUN /src/grass_build/configure \
   --without-mysql \
   --without-odbc \
   --without-openmp \
-  --without-ffmpeg \
   --without-opengl \
     && make -j $NUMTHREADS \
     && make install && ldconfig

+ 2 - 3
docker/ubuntu/Dockerfile

@@ -166,14 +166,14 @@ RUN make distclean || echo "nothing to clean"
 RUN /src/grass_build/configure \
   --with-cxx \
   --enable-largefile \
-  --with-proj --with-proj-share=/usr/share/proj \
+  --with-proj-share=/usr/share/proj \
   --with-gdal=/usr/bin/gdal-config \
   --with-geos \
   --with-sqlite \
   --with-cairo --with-cairo-ldflags=-lfontconfig \
   --with-freetype --with-freetype-includes="/usr/include/freetype2/" \
   --with-fftw \
-  --with-postgres=yes --with-postgres-includes="/usr/include/postgresql" \
+  --with-postgres --with-postgres-includes="/usr/include/postgresql" \
   --with-netcdf \
   --with-zstd \
   --with-bzlib \
@@ -181,7 +181,6 @@ RUN /src/grass_build/configure \
   --without-mysql \
   --without-odbc \
   --without-openmp \
-  --without-ffmpeg \
   --without-opengl \
     && make -j $NUMTHREADS \
     && make install && ldconfig