Automate injection of 3GPP yaml files 51/10851/3
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 5 Apr 2023 15:32:16 +0000 (17:32 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 5 Apr 2023 15:39:29 +0000 (15:39 +0000)
- trigger the build process from docker-compose.yml

Many thanks to Micha Dürre - creating the magic.

Issue-ID: OAM-324
Change-Id: Ibe8de02cb812e3eb61d7fab0296e79f75958e21d
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
solution/smo/oam/docker-compose.yml

index a052e95..2a4bd22 100755 (executable)
@@ -84,7 +84,11 @@ services:
         ipv6_address: ${SDNC_OAM_IPv6}
 
   ves-collector:
-    image: ${VES_COLLECTOR_IMAGE}
+    image: ${VES_COLLECTOR_IMAGE}-configured
+    build:
+      context: ./ves-collector
+      args:
+        - BASEIMAGE=${VES_COLLECTOR_IMAGE}
     container_name: ves-collector
     hostname: ves-collector
     environment:
@@ -92,7 +96,6 @@ services:
     volumes:
       - ./ves-collector/collector.properties:/opt/app/VESCollector/etc/collector.properties
       - ./ves-collector/ves-dmaap-config.json:/opt/app/VESCollector/etc/ves-dmaap-config.json
-      - ./ves-collector/externalRepo:/opt/app/VESCollector/etc/externalRepo
     labels:
       traefik.enable: true
       traefik.http.routers.ves.entrypoints: websecure