You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** The passed path **must not** be absolute! Instead, the path should be within the build context (e.g. next to the Dockerfile) and should be passed as a relative path, e.g. `GS_DATA_PATH=./my_data/`
34
+
35
+
## Can a build use a specific GeoServer version AND custom data?
36
+
37
+
Yes! Just pass the `--build-arg` param twice, e.g.
38
+
39
+
```shell
40
+
docker build \
41
+
--build-arg GS_VERSION={VERSION} \
42
+
--build-arg GS_DATA_PATH={PATH} \
43
+
-t {YOUR_TAG} .
44
+
```
45
+
46
+
## How to build with additional libs/extensions/plugins?
47
+
48
+
Put your `*.jar` files (e.g. the WPS extension) in the `additional_libs` folder and build with one of the commands from above! (They will be copied to the GeoServer `WEB-INF/lib` folder during the build.)
49
+
50
+
**Note:** Similar to the GeoServer data path from above, you can also configure the path to the additional libraries by passing the `ADDITIONAL_LIBS_PATH` argument when building:
**Note:** The passed path **must not** be absolute! Instead, the path should be within the build context (e.g. next to the Dockerfile) and should be passed as a relative path, e.g. `GS_DATA_PATH=./my_data/`
181
-
182
-
### Can a build use a specific GeoServer version AND custom data?
183
-
184
-
Yes! Just pass the `--build-arg` param twice, e.g.
185
-
186
-
```shell
187
-
docker build \
188
-
--build-arg GS_VERSION={VERSION} \
189
-
--build-arg GS_DATA_PATH={PATH} \
190
-
-t {YOUR_TAG} .
191
-
```
192
-
193
-
### How to build with additional libs/extensions/plugins?
194
-
195
-
Put your `*.jar` files (e.g. the WPS extension) in the `additional_libs` folder and build with one of the commands from above! (They will be copied to the GeoServer `WEB-INF/lib` folder during the build.)
196
-
197
-
**Note:** Similar to the GeoServer data path from above, you can also configure the path to the additional libraries by passing the `ADDITIONAL_LIBS_PATH` argument when building:
OSGeo maintains geoserver-docker.osgeo.org repository for publishing. The results are combined into docker.osgeo.org repository alongside other software such as PostGIS.
OSGeo maintains geoserver-docker.osgeo.org repository for publishing. The results are combined into docker.osgeo.org repository alongside other software such as PostGIS.
0 commit comments