Skip to content

Commit

Permalink
docker/alpine-small/Dockerfile: remove removal of unused resource fil…
Browse files Browse the repository at this point in the history
…es [ci skip]
  • Loading branch information
rouault committed Jan 26, 2024
1 parent da8d811 commit 336811c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docker/alpine-small/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,6 @@ RUN if test "${GDAL_VERSION}" = "master"; then \
&& mv /build/usr/bin /build_gdal_version_changing/usr \
&& for i in /build_gdal_version_changing/usr/lib/*; do strip -s $i 2>/dev/null || /bin/true; done \
&& for i in /build_gdal_version_changing/usr/bin/*; do strip -s $i 2>/dev/null || /bin/true; done \
# Remove resource files of uncompiled drivers
&& (for i in \
# BAG driver
/build/usr/share/gdal/bag*.xml \
# unused
/build/usr/share/gdal/*.svg \
# unused
/build/usr/share/gdal/*.png \
# GMLAS driver
/build/usr/share/gdal/gmlas* \
# netCDF driver
/build/usr/share/gdal/netcdf_config.xsd \
;do rm $i; done)\
&& apk del cmake

# Build final image
Expand Down

0 comments on commit 336811c

Please sign in to comment.