build: fix build environment for the liveness test (#10551)
Extracted from #10210. Make the test more reproducible, so that it does not require coordination between the build container and the run container. - Use layers to more advantage. - Include bash in the run container. - Put writable output onto a volume.
This commit is contained in:
+4
-4
@@ -12,7 +12,7 @@ services:
|
||||
- ID=0
|
||||
- LOG=${LOG:-simd.log}
|
||||
volumes:
|
||||
- ./build:/simd:Z
|
||||
- ./localnet:/data:Z
|
||||
networks:
|
||||
localnet:
|
||||
ipv4_address: 192.168.10.2
|
||||
@@ -28,7 +28,7 @@ services:
|
||||
- ID=1
|
||||
- LOG=${LOG:-simd.log}
|
||||
volumes:
|
||||
- ./build:/simd:Z
|
||||
- ./localnet:/data:Z
|
||||
networks:
|
||||
localnet:
|
||||
ipv4_address: 192.168.10.3
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
- "1319:1317"
|
||||
- "9092:9090"
|
||||
volumes:
|
||||
- ./build:/simd:Z
|
||||
- ./localnet:/data:Z
|
||||
networks:
|
||||
localnet:
|
||||
ipv4_address: 192.168.10.4
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
- "1320:1317"
|
||||
- "9093:9090"
|
||||
volumes:
|
||||
- ./build:/simd:Z
|
||||
- ./localnet:/data:Z
|
||||
networks:
|
||||
localnet:
|
||||
ipv4_address: 192.168.10.5
|
||||
|
||||
Reference in New Issue
Block a user