Kaynağa Gözat

Dockerfile: fix broken lib link (#1625)

* Dockerfile: fix broken lib link
Markus Neteler 3 yıl önce
ebeveyn
işleme
98a439f035

+ 1 - 1
docker/alpine/Dockerfile_alpine

@@ -193,7 +193,7 @@ RUN apk add curl && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && p
 # install external Python API
 # install external Python API
 RUN pip3 install --upgrade pip six grass-session --ignore-installed six
 RUN pip3 install --upgrade pip six grass-session --ignore-installed six
 
 
-RUN ln -sf `grass --config path` /usr/local/grass
+RUN ln -sf /usr/local/grass `grass --config path`
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
     pdal --version && \
     pdal --version && \
     python3 --version
     python3 --version

+ 1 - 1
docker/debian/Dockerfile_debian_pdal

@@ -210,7 +210,7 @@ ENV LC_ALL "en_US.UTF-8"
 ENV GRASS_SKIP_MAPSET_OWNER_CHECK 1
 ENV GRASS_SKIP_MAPSET_OWNER_CHECK 1
 
 
 # Create generic GRASS GIS lib name regardless of version number
 # Create generic GRASS GIS lib name regardless of version number
-RUN ln -sf `grass --config path` /usr/local/grass
+RUN ln -sf /usr/local/grass `grass --config path`
 
 
 # show GRASS GIS, PROJ, GDAL etc versions
 # show GRASS GIS, PROJ, GDAL etc versions
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \

+ 1 - 1
docker/ubuntu/Dockerfile_ubuntu_pdal

@@ -202,7 +202,7 @@ ENV LC_ALL "en_US.UTF-8"
 ENV GRASS_SKIP_MAPSET_OWNER_CHECK 1
 ENV GRASS_SKIP_MAPSET_OWNER_CHECK 1
 
 
 # Create generic GRASS GIS lib name regardless of version number
 # Create generic GRASS GIS lib name regardless of version number
-RUN ln -sf `grass --config path` /usr/local/grass
+RUN ln -sf /usr/local/grass `grass --config path`
 
 
 # show GRASS GIS, PROJ, GDAL etc versions
 # show GRASS GIS, PROJ, GDAL etc versions
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
 RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \