|
1 | 1 | services:
|
2 |
| - base-image-jre: |
| 2 | + # Base JRE image, ubuntu 24.04, jre 21 temurin |
| 3 | + jre: |
3 | 4 | extends:
|
4 | 5 | file: templates.yml
|
5 | 6 | service: current-platform
|
6 |
| - image: ${REPOSITORY}/gs-cloud-base-jre:${TAG} |
| 7 | + image: ${REPOSITORY}/jre:21-tem |
7 | 8 | build:
|
8 | 9 | context: ../src/apps/base-images/jre/
|
9 | 10 |
|
10 |
| - base-image-spring-boot: |
| 11 | + # Base JRE image with libgdal-java |
| 12 | + jre-gdal: |
11 | 13 | extends:
|
12 | 14 | file: templates.yml
|
13 | 15 | service: current-platform
|
14 |
| - image: ${REPOSITORY}/gs-cloud-base-spring-boot:${TAG} |
15 |
| - depends_on: [base-image-jre] |
| 16 | + image: ${REPOSITORY}/jre-gdal:21-3.8.4 |
| 17 | + depends_on: [jre] |
| 18 | + build: |
| 19 | + context: ../src/apps/base-images/gdal/ |
| 20 | + args: |
| 21 | + JRE_BASE_IMAGE_NAME: jre:21-tem |
| 22 | + |
| 23 | + # Base JRE + Spring Boot common layer for infra services |
| 24 | + spring-boot-common: |
| 25 | + extends: |
| 26 | + file: templates.yml |
| 27 | + service: current-platform |
| 28 | + image: ${REPOSITORY}/spring-boot-common:${TAG} |
| 29 | + depends_on: [jre] |
| 30 | + build: |
| 31 | + context: ../src/apps/base-images/spring-boot/ |
| 32 | + args: |
| 33 | + JRE_BASE_IMAGE_NAME: jre:21-tem |
| 34 | + |
| 35 | + # Base JRE + GDAL + Spring Boot common layer for GeoServer services |
| 36 | + spring-boot-common-gdal: |
| 37 | + extends: |
| 38 | + file: templates.yml |
| 39 | + service: current-platform |
| 40 | + image: ${REPOSITORY}/spring-boot-common-gdal:${TAG} |
| 41 | + depends_on: [jre-gdal] |
16 | 42 | build:
|
17 | 43 | context: ../src/apps/base-images/spring-boot/
|
| 44 | + args: |
| 45 | + JRE_BASE_IMAGE_NAME: jre-gdal:21-3.8.4 |
18 | 46 |
|
19 |
| - base-image-geoserver: |
| 47 | + # Base JRE + GDAL + Spring Boot + shared GeoServer dependencies layer for GeoServer services |
| 48 | + geoserver-common: |
20 | 49 | extends:
|
21 | 50 | file: templates.yml
|
22 | 51 | service: current-platform
|
23 |
| - image: ${REPOSITORY}/gs-cloud-base-geoserver-image:${TAG} |
24 |
| - depends_on: [base-image-spring-boot] |
| 52 | + image: ${REPOSITORY}/geoserver-common:${TAG} |
| 53 | + depends_on: [spring-boot-common-gdal] |
25 | 54 | build:
|
26 | 55 | context: ../src/apps/base-images/geoserver/
|
0 commit comments