Skip to content

Commit cbe4682

Browse files
committed
add proj share folder
1 parent dfb5a89 commit cbe4682

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ ENV \
3838
GDAL_CONFIG=/usr/local/bin/gdal-config \
3939
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 \
4040
PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:/usr/lib64/pkgconfig \
41-
GDAL_DATA=/usr/local/share/gdal
41+
GDAL_DATA=${PREFIX}/share/gdal \
42+
PROJ_LIB=${PREFIX}/share/proj
4243

4344
# switch to a build directory
4445
WORKDIR /build

bin/package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ strip $DEPLOY_DIR/lib/* || true
1717
# copy GDAL_DATA files over
1818
mkdir -p $DEPLOY_DIR/share
1919
rsync -ax $PREFIX/share/gdal $DEPLOY_DIR/share/
20+
rsync -ax $PREFIX/share/proj $DEPLOY_DIR/share/
2021

2122
# zip up deploy package
2223
cd $DEPLOY_DIR

0 commit comments

Comments
 (0)