Closed jamesfry closed 2 years ago
Hello,
The 2.20.1 container image on Docker Hub is missing extension zips normally in
/plugins
, meaning that extensions get downloaded at runtime. This is a problem for a common deployment pattern where the host doesn't have an internet gateway.eg:
➜ docker pull kartoza/geoserver:2.20.1 && docker run -e STABLE_EXTENSIONS=css-plugin -it kartoza/geoserver:2.20.1 2.20.1: Pulling from kartoza/geoserver Digest: sha256:bfe5a291488e31ffd87b466cdf3c34d16f7120873238be733da8ecbb5c669f1e Status: Image is up to date for kartoza/geoserver:2.20.1 docker.io/kartoza/geoserver:2.20.1 _ __ _ ____ _ ____ ____ | |/ /__ _ _ __| |_ ___ ______ _ | _ \ ___ ___| | _____ _ __ / ___| ___ ___/ ___| ___ _ ____ _____ _ __ | ' // _` | '__| __/ _ \_ / _` | | | | |/ _ \ / __| |/ / _ \ '__| | | _ / _ \/ _ \___ \ / _ \ '__\ \ / / _ \ '__| | . \ (_| | | | || (_) / / (_| | | |_| | (_) | (__| < __/ | | |_| | __/ (_) |__) | __/ | \ V / __/ | |_|\_\__,_|_| \__\___/___\__,_| |____/ \___/ \___|_|\_\___|_| \____|\___|\___/____/ \___|_| \_/ \___|_| Creating /opt/geoserver/data_dir/user_projections directory Creating /opt/geoserver/data_dir/logs directory Enabling css-plugin for GeoServer 2.20.1 --2022-01-18 22:13:21-- https://liquidtelecom.dl.sourceforge.net/project/geoserver/GeoServer/2.20.1/extensions/geoserver-2.20.1-css-plugin.zip Resolving liquidtelecom.dl.sourceforge.net (liquidtelecom.dl.sourceforge.net)... 197.155.77.8 Connecting to liquidtelecom.dl.sourceforge.net (liquidtelecom.dl.sourceforge.net)|197.155.77.8|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 832426 (813K) [application/octet-stream] Saving to: ‘/plugins/css-plugin.zip’ /plugins/css-plugin.zip 100%[==============================================================================================================================>] 812.92K 1.06MB/s in 0.7s 2022-01-18 22:13:23 (1.06 MB/s) - ‘/plugins/css-plugin.zip’ saved [832426/832426] Archive: /plugins/css-plugin.zip inflating: /tmp/gs_plugin/gt-brewer-26.1.jar inflating: /tmp/gs_plugin/asm-util-6.2.1.jar inflating: /tmp/gs_plugin/asm-6.2.1.jar inflating: /tmp/gs_plugin/gt-css-26.1.jar inflating: /tmp/gs_plugin/gs-css-2.20.1.jar inflating: /tmp/gs_plugin/parboiled-core-1.2.0.jar inflating: /tmp/gs_plugin/asm-analysis-6.2.1.jar inflating: /tmp/gs_plugin/parboiled-java-1.2.0.jar inflating: /tmp/gs_plugin/asm-tree-6.2.1.jar inflating: /tmp/gs_plugin/GPL.md inflating: /tmp/gs_plugin/NOTICE.md inflating: /tmp/gs_plugin/GEOTOOLS_NOTICE.txt inflating: /tmp/gs_plugin/LGPL.md COMMUNITY_EXTENSIONS is unset, so we do not install any community extensions ...
Inside 2.20.1:
➜ docker pull kartoza/geoserver:2.20.1 && docker run -it kartoza/geoserver:2.20.1 bash -c 'ls -al /community_plugins /plugins' 2.20.1: Pulling from kartoza/geoserver Digest: sha256:bfe5a291488e31ffd87b466cdf3c34d16f7120873238be733da8ecbb5c669f1e Status: Image is up to date for kartoza/geoserver:2.20.1 docker.io/kartoza/geoserver:2.20.1 /community_plugins: total 273244 drwxr-xr-x 1 geoserveruser geoserverusers 4096 Dec 14 16:53 . drwxr-xr-x 1 root root 4096 Jan 18 22:05 .. -rw-r--r-- 1 geoserveruser geoserverusers 39585026 Dec 14 10:37 activeMQ-broker-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6484328 Dec 14 10:37 backup-restore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 13024719 Dec 14 10:37 cog-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 20954 Dec 14 10:37 colormap-plugin.zip -rwxr-xr-x 1 geoserveruser geoserverusers 1092 Dec 14 16:30 community_plugins.txt -rw-r--r-- 1 geoserveruser geoserverusers 1366287 Dec 14 10:37 cov-json-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 112896 Dec 14 10:37 csw-iso-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6457775 Dec 14 10:37 dds-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 33238 Dec 14 10:37 dyndimension-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 4269391 Dec 14 10:37 elasticsearch-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1808492 Dec 14 10:37 features-templating-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 135707 Dec 14 10:37 flatgeobuf-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 26331 Dec 14 10:37 gdal-wcs-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7110 Dec 14 10:37 gdal-wps-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1514832 Dec 14 10:37 geopkg-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1285665 Dec 14 10:37 geostyler-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 20932 Dec 14 10:37 gpx-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2882924 Dec 14 10:37 gsr-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11359518 Dec 14 10:37 gwc-azure-blobstore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8935817 Dec 14 10:37 gwc-distributed-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7398121 Dec 14 10:37 gwc-sqlite-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11982056 Dec 14 10:37 hz-cluster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1302306 Dec 14 10:37 importer-jdbc-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7179 Dec 14 10:37 jdbc-metrics-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 126669 Dec 14 10:37 jdbcconfig-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 252272 Dec 14 10:37 jdbcstore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8506345 Dec 14 10:37 jms-cluster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7946 Dec 14 10:37 kmlppio-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10898636 Dec 14 10:37 mbtiles-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10875277 Dec 14 10:37 mbtiles-store-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2170062 Dec 14 10:37 metadata-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2282893 Dec 14 10:37 mongodb-schemaless-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1707390 Dec 14 10:37 ncwms-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 27089 Dec 14 10:37 netcdf-ghrsst-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6728537 Dec 14 10:37 notification-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 143868 Dec 14 10:37 nsg-wfs-profile-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 4789 Dec 14 10:37 nsg-wmts-profile-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8954975 Dec 14 10:37 ogcapi-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 288517 Dec 14 10:37 ogr-datastore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 3455291 Dec 14 10:37 opensearch-eo-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10246 Dec 14 10:37 ows-simulate-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11335 Dec 14 10:37 pgraster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 185312 Dec 14 10:37 qos-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9054481 Dec 14 10:37 s3-geotiff-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6212020 Dec 14 10:37 saml-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 13925333 Dec 14 10:37 sec-keycloak-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9373303 Dec 14 10:37 sec-oauth2-geonode-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9375217 Dec 14 10:37 sec-oauth2-github-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9376088 Dec 14 10:37 sec-oauth2-google-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9386792 Dec 14 10:37 sec-oauth2-openid-connect-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 91624 Dec 14 10:37 smart-data-loader-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7883460 Dec 14 10:37 solr-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7258956 Dec 14 10:37 taskmanager-core-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 596466 Dec 14 10:37 taskmanager-s3-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 5602998 Dec 14 10:37 wfs3-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 133195 Dec 14 10:37 wms-eo-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 14009 Dec 14 10:37 wmts-styles-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 14734641 Dec 14 10:37 wps-remote-plugin.zip /plugins: total 12 drwxr-xr-x 1 geoserveruser geoserverusers 4096 Dec 14 16:30 . drwxr-xr-x 1 root root 4096 Jan 18 22:05 .. -rwxr-xr-x 1 geoserveruser geoserverusers 624 Dec 14 16:30 stable_plugins.txt
Inside 2.20.0:
➜ docker pull kartoza/geoserver:2.20.0 && docker run -it kartoza/geoserver:2.20.0 bash -c 'ls -al /community_plugins /plugins' 2.20.0: Pulling from kartoza/geoserver Digest: sha256:272399a2df2b99ad54f3e5588a89b4fc7fc2f47f6511bac4189d3369d21dd4e7 Status: Image is up to date for kartoza/geoserver:2.20.0 docker.io/kartoza/geoserver:2.20.0 /community_plugins: total 273224 drwxr-xr-x 1 geoserveruser geoserverusers 4096 Nov 25 07:36 . drwxr-xr-x 1 root root 4096 Jan 18 22:06 .. -rw-r--r-- 1 geoserveruser geoserverusers 39585373 Nov 24 10:17 activeMQ-broker-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6484652 Nov 24 10:17 backup-restore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 13024696 Nov 24 10:17 cog-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 20938 Nov 24 10:17 colormap-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1092 Nov 25 07:29 community_plugins.txt -rw-r--r-- 1 geoserveruser geoserverusers 1366287 Nov 24 10:17 cov-json-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 112851 Nov 24 10:17 csw-iso-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6457760 Nov 24 10:17 dds-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 33205 Nov 24 10:17 dyndimension-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 4269569 Nov 24 10:17 elasticsearch-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1803242 Nov 24 10:17 features-templating-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 135657 Nov 24 10:17 flatgeobuf-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 26328 Nov 24 10:17 gdal-wcs-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7102 Nov 24 10:17 gdal-wps-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1514803 Nov 24 10:17 geopkg-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1285670 Nov 24 10:17 geostyler-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 20913 Nov 24 10:17 gpx-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2882584 Nov 24 10:17 gsr-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11359506 Nov 24 10:17 gwc-azure-blobstore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8935817 Nov 24 10:17 gwc-distributed-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7398141 Nov 24 10:17 gwc-sqlite-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11982007 Nov 24 10:17 hz-cluster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1302217 Nov 24 10:17 importer-jdbc-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7171 Nov 24 10:17 jdbc-metrics-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 126659 Nov 24 10:17 jdbcconfig-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 252231 Nov 24 10:17 jdbcstore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8506309 Nov 24 10:17 jms-cluster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7941 Nov 24 10:17 kmlppio-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10898656 Nov 24 10:17 mbtiles-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10875305 Nov 24 10:17 mbtiles-store-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2170015 Nov 24 10:17 metadata-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2282868 Nov 24 10:17 mongodb-schemaless-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1707378 Nov 24 10:17 ncwms-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 27084 Nov 24 10:17 netcdf-ghrsst-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6728526 Nov 24 10:17 notification-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 143834 Nov 24 10:17 nsg-wfs-profile-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 4787 Nov 24 10:17 nsg-wmts-profile-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8954613 Nov 24 10:17 ogcapi-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 288530 Nov 24 10:17 ogr-datastore-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 3448399 Nov 24 10:17 opensearch-eo-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10239 Nov 24 10:17 ows-simulate-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 11323 Nov 24 10:17 pgraster-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 185270 Nov 24 10:17 qos-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9054469 Nov 24 10:17 s3-geotiff-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6212010 Nov 24 10:17 saml-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 13925294 Nov 24 10:17 sec-keycloak-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9373278 Nov 24 10:17 sec-oauth2-geonode-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9375191 Nov 24 10:17 sec-oauth2-github-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9376055 Nov 24 10:17 sec-oauth2-google-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 9386750 Nov 24 10:17 sec-oauth2-openid-connect-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 91590 Nov 24 10:17 smart-data-loader-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7883428 Nov 24 10:17 solr-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 7256893 Nov 24 10:17 taskmanager-core-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 596461 Nov 24 10:17 taskmanager-s3-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 5602917 Nov 24 10:17 wfs3-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 133119 Nov 24 10:17 wms-eo-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 14000 Nov 24 10:17 wmts-styles-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 14732015 Nov 24 10:17 wps-remote-plugin.zip /plugins: total 113060 drwxr-xr-x 1 geoserveruser geoserverusers 4096 Nov 25 07:32 . drwxr-xr-x 1 root root 4096 Jan 18 22:06 .. -rw-r--r-- 1 geoserveruser geoserverusers 565851 Oct 13 08:42 app-schema-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1742030 Oct 13 08:42 authkey-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 234981 Oct 13 08:42 cas-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1596926 Oct 13 08:42 charts-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 832458 Oct 13 08:42 css-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6304323 Oct 13 08:42 db2-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 70864 Oct 13 08:42 dxf-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 12293070 Oct 13 08:42 excel-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 87563 Oct 13 08:42 feature-pregeneralized-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 193897 Oct 13 08:42 geofence-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 12124684 Oct 13 08:42 geofence-server-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 22118626 Oct 13 08:42 grib-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 5333073 Oct 13 08:42 gwc-s3-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1336929 Oct 13 08:42 h2-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 74637 Oct 13 08:42 imagemap-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1263459 Oct 13 08:42 importer-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 323999 Oct 13 08:42 jp2k-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 6560950 Oct 13 08:42 mapml-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 238522 Oct 13 08:42 mbstyle-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2591399 Oct 13 08:42 mongodb-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 2316846 Oct 13 08:42 mysql-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8948716 Oct 13 08:42 netcdf-out-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 10919985 Oct 13 08:42 netcdf-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 61518 Oct 13 08:42 ogr-wfs-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 41370 Oct 13 08:42 ogr-wps-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 4208708 Oct 13 08:42 oracle-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 68985 Oct 13 08:42 params-extractor-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 44002 Oct 13 08:42 querylayer-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 507588 Oct 13 08:42 sldservice-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1323868 Oct 13 08:42 sqlserver-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 624 Nov 25 07:29 stable_plugins.txt -rw-r--r-- 1 geoserveruser geoserverusers 50904 Oct 13 08:42 teradata-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 112370 Oct 13 08:42 wcs2_0-eo-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 97934 Oct 13 08:42 web-resource-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 75414 Oct 13 08:42 wmts-multi-dimensional-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 8682952 Oct 13 08:42 wps-cluster-hazelcast-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 14836 Oct 13 08:42 wps-jdbc-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 1732488 Oct 13 08:42 wps-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 64647 Oct 13 08:42 xslt-plugin.zip -rw-r--r-- 1 geoserveruser geoserverusers 510276 Oct 13 08:42 ysld-plugin.zip
I appreciate that I can rebuild the image myself, but would you be able to rebuild the image with the extensions and push it to Docker Hub?
Many thanks!
This is fixed, Can you pull the image again
Confirmed fixed - thank you for updating this so quickly! Much appreciated.
➜ docker pull kartoza/geoserver:2.20.1 && docker run -e STABLE_EXTENSIONS=css-plugin -it kartoza/geoserver:2.20.1
2.20.1: Pulling from kartoza/geoserver
a330b6cecb98: Already exists
eb538b78785f: Already exists
9d02563c3982: Already exists
575e3ba10580: Already exists
3df0b514cd63: Already exists
97c41485faa4: Already exists
3473002094ca: Already exists
b38fce976a37: Pull complete
a0da520689de: Pull complete
a569d633a5ba: Pull complete
4b2d924d3ac3: Pull complete
08f775d4d6b8: Pull complete
611fa6739fae: Pull complete
af03fab7197f: Pull complete
5f54dd529bfe: Pull complete
12c16d91019f: Pull complete
fc2171cbffc1: Pull complete
57e6979852b6: Pull complete
355cb899b236: Pull complete
Digest: sha256:d98f651730d672da48e805775b6cecdbe23bf339c8830e3259be035c5e0ce760
Status: Downloaded newer image for kartoza/geoserver:2.20.1
docker.io/kartoza/geoserver:2.20.1
_ __ _ ____ _
| |/ /__ _ _ __| |_ ___ ______ _ | _ \ ___ ___| | _____ _ __
| ' // _` | '__| __/ _ \_ / _` | | | | |/ _ \ / __| |/ / _ \ '__|
| . \ (_| | | | || (_) / / (_| | | |_| | (_) | (__| < __/ |
|_|\_\__,_|_| \__\___/___\__,_| |____/ \___/ \___|_|\_\___|_|
____ ____
/ ___| ___ ___/ ___| ___ _ ____ _____ _ __
| | _ / _ \/ _ \___ \ / _ \ '__\ \ / / _ \ '__|
| |_| | __/ (_) |__) | __/ | \ V / __/ |
\____|\___|\___/____/ \___|_| \_/ \___|_|
Creating /opt/geoserver/data_dir/user_projections directory
Creating /opt/geoserver/data_dir/logs directory
Enabling css-plugin for GeoServer 2.20.1
Archive: /plugins/css-plugin.zip
inflating: /tmp/gs_plugin/gt-brewer-26.1.jar
inflating: /tmp/gs_plugin/asm-util-6.2.1.jar
inflating: /tmp/gs_plugin/asm-6.2.1.jar
inflating: /tmp/gs_plugin/gt-css-26.1.jar
inflating: /tmp/gs_plugin/gs-css-2.20.1.jar
inflating: /tmp/gs_plugin/parboiled-core-1.2.0.jar
inflating: /tmp/gs_plugin/asm-analysis-6.2.1.jar
inflating: /tmp/gs_plugin/parboiled-java-1.2.0.jar
inflating: /tmp/gs_plugin/asm-tree-6.2.1.jar
inflating: /tmp/gs_plugin/GPL.md
inflating: /tmp/gs_plugin/NOTICE.md
inflating: /tmp/gs_plugin/GEOTOOLS_NOTICE.txt
inflating: /tmp/gs_plugin/LGPL.md
COMMUNITY_EXTENSIONS is unset, so we do not install any community extensions
...
➜ docker pull kartoza/geoserver:2.20.1 && docker run -it kartoza/geoserver:2.20.1 bash -c 'ls -al /community_plugins /plugins'
2.20.1: Pulling from kartoza/geoserver
Digest: sha256:d98f651730d672da48e805775b6cecdbe23bf339c8830e3259be035c5e0ce760
Status: Image is up to date for kartoza/geoserver:2.20.1
docker.io/kartoza/geoserver:2.20.1
/community_plugins:
total 274916
drwxr-xr-x 1 geoserveruser geoserverusers 4096 Jan 18 06:56 .
drwxr-xr-x 1 root root 4096 Jan 19 13:07 ..
-rw-r--r-- 1 geoserveruser geoserverusers 39589541 Jan 17 10:10 activeMQ-broker-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6484438 Jan 17 10:10 backup-restore-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 13024687 Jan 17 10:10 cog-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 20936 Jan 17 10:10 colormap-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1087 Jan 18 06:45 community_plugins.txt
-rw-r--r-- 1 geoserveruser geoserverusers 1366288 Jan 17 10:10 cov-json-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 112856 Jan 17 10:10 csw-iso-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6457755 Jan 17 10:10 dds-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 33212 Jan 17 10:10 dyndimension-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 4269503 Jan 17 10:10 elasticsearch-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1809908 Jan 17 10:10 features-templating-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 135682 Jan 17 10:10 flatgeobuf-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 26316 Jan 17 10:10 gdal-wcs-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7099 Jan 17 10:10 gdal-wps-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1514777 Jan 17 10:10 geopkg-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1285670 Jan 17 10:10 geostyler-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 20924 Jan 17 10:10 gpx-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2882596 Jan 17 10:10 gsr-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 11359514 Jan 17 10:10 gwc-azure-blobstore-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 8935812 Jan 17 10:10 gwc-distributed-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1703730 Jan 17 10:10 gwc-mbtiles-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7398098 Jan 17 10:10 gwc-sqlite-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 11982008 Jan 17 10:10 hz-cluster-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1302322 Jan 17 10:10 importer-jdbc-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7178 Jan 17 10:10 jdbc-metrics-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 127271 Jan 17 10:10 jdbcconfig-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 253169 Jan 17 10:10 jdbcstore-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 8506289 Jan 17 10:10 jms-cluster-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7942 Jan 17 10:10 kmlppio-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 10898611 Jan 17 10:10 mbtiles-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 10875254 Jan 17 10:10 mbtiles-store-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2169923 Jan 17 10:10 metadata-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2282774 Jan 17 10:10 mongodb-schemaless-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1707337 Jan 17 10:10 ncwms-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 27067 Jan 17 10:10 netcdf-ghrsst-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6728524 Jan 17 10:10 notification-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 143832 Jan 17 10:10 nsg-wfs-profile-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 4791 Jan 17 10:10 nsg-wmts-profile-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 8954564 Jan 17 10:10 ogcapi-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 288519 Jan 17 10:10 ogr-datastore-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 3454326 Jan 17 10:10 opensearch-eo-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 10237 Jan 17 10:10 ows-simulate-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 11335 Jan 17 10:10 pgraster-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 185308 Jan 17 10:10 qos-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 9054484 Jan 17 10:10 s3-geotiff-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6212000 Jan 17 10:10 saml-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 13926197 Jan 17 10:10 sec-keycloak-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 9373273 Jan 17 10:10 sec-oauth2-geonode-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 9375192 Jan 17 10:10 sec-oauth2-github-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 9376062 Jan 17 10:10 sec-oauth2-google-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 9386748 Jan 17 10:10 sec-oauth2-openid-connect-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 91641 Jan 17 10:10 smart-data-loader-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7883424 Jan 17 10:10 solr-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 7258526 Jan 17 10:10 taskmanager-core-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 596461 Jan 17 10:10 taskmanager-s3-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 5602823 Jan 17 10:10 wfs3-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 133186 Jan 17 10:10 wms-eo-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 14006 Jan 17 10:10 wmts-styles-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 14735167 Jan 17 10:10 wps-remote-plugin.zip
/plugins:
total 113124
drwxr-xr-x 1 geoserveruser geoserverusers 4096 Jan 18 06:49 .
drwxr-xr-x 1 root root 4096 Jan 19 13:07 ..
-rw-r--r-- 1 geoserveruser geoserverusers 565771 Nov 18 15:30 app-schema-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1742031 Nov 18 15:30 authkey-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 234996 Nov 18 15:30 cas-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1596918 Nov 18 15:30 charts-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 832426 Nov 18 15:30 css-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6304255 Nov 18 15:30 db2-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 70868 Nov 18 15:30 dxf-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 12293070 Nov 18 15:30 excel-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 87546 Nov 18 15:30 feature-pregeneralized-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 194167 Nov 18 15:30 geofence-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 12125462 Nov 18 15:30 geofence-server-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 22118908 Nov 18 15:30 grib-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 5333071 Nov 18 15:30 gwc-s3-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1336943 Nov 18 15:30 h2-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 74620 Nov 18 15:30 imagemap-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1263527 Nov 18 15:30 importer-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 323989 Nov 18 15:30 jp2k-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 6560923 Nov 18 15:30 mapml-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2591613 Nov 18 15:30 mongodb-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2316830 Nov 18 15:30 mysql-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 8948938 Nov 18 15:30 netcdf-out-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 10920267 Nov 18 15:30 netcdf-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 61518 Nov 18 15:30 ogr-wfs-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 41366 Nov 18 15:30 ogr-wps-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 4208522 Nov 18 15:30 oracle-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 68983 Nov 18 15:30 params-extractor-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 44001 Nov 18 15:30 querylayer-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 507578 Nov 18 15:30 sldservice-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 1323862 Nov 18 15:30 sqlserver-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 631 Jan 18 06:45 stable_plugins.txt
-rw-r--r-- 1 geoserveruser geoserverusers 0 Jan 18 06:48 style-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 50892 Nov 18 15:30 teradata-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 112342 Nov 18 15:30 wcs2_0-eo-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 97931 Nov 18 15:30 web-resource-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 75398 Nov 18 15:30 wmts-multi-dimensional-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 8682939 Nov 18 15:30 wps-cluster-hazelcast-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 2037918 Nov 18 15:30 wps-download-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 14838 Nov 18 15:30 wps-jdbc-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 64645 Nov 18 15:30 xslt-plugin.zip
-rw-r--r-- 1 geoserveruser geoserverusers 510255 Nov 18 15:30 ysld-plugin.zip
Hello,
The 2.20.1 container image on Docker Hub is missing extension zips normally in
/plugins
, meaning that extensions get downloaded at runtime. This is a problem for a common deployment pattern where the host doesn't have an internet gateway.eg:
Inside 2.20.1:
Inside 2.20.0:
I appreciate that I can rebuild the image myself, but would you be able to rebuild the image with the extensions and push it to Docker Hub?
Many thanks!