geonetwork / geonetwork-microservices

GNU General Public License v2.0
13 stars 17 forks source link

Dockerfile of gn-cloud-ogc-api-records-service? #94

Closed wagner-intevation closed 10 months ago

wagner-intevation commented 10 months ago

Hi,

I'm wondering how geonetwork/gn-cloud-ogc-api-records-service is built, as the layers have no command information and this repository, especially the path modules/services/ogc-api-records contains no Dockerfile either. Where does that image come from?

pmauduit commented 10 months ago

it is making use of the spring boot maven profile, which takes care of building the docker image without the need for a Dockerfile ; you can find the configuration directly into the pom.xml file here: https://github.com/geonetwork/geonetwork-microservices/blob/main/modules/services/ogc-api-records/pom.xml#L163-L190

pmauduit commented 10 months ago

Also the yaml snippet being used for the CI which publishes the image on docker hub is here: https://github.com/geonetwork/geonetwork-microservices/blob/main/.github/workflows/ci.yaml#L25-L28

wagner-intevation commented 10 months ago

Thank you very much for the super quick answer, I will have a look at the references.