docker compose override files for testing with locally modified executables.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
services:
|
||||
build-ran-base:
|
||||
image: ran-base
|
||||
build:
|
||||
context: ../../../
|
||||
dockerfile: docker/Dockerfile.base.ubuntu22
|
||||
tags:
|
||||
- ran-base
|
||||
|
||||
build-ran-build:
|
||||
image: ran-build
|
||||
build:
|
||||
context: ../../../
|
||||
dockerfile: docker/Dockerfile.build.ubuntu22
|
||||
tags:
|
||||
- ran-build
|
||||
depends_on:
|
||||
build-ran-base:
|
||||
condition: service_completed_successfully
|
||||
|
||||
build-gnb-image:
|
||||
image: gnb-local
|
||||
build:
|
||||
context: ../../../
|
||||
dockerfile: docker/Dockerfile.gNB.ubuntu22
|
||||
tags:
|
||||
- gnb-local
|
||||
depends_on:
|
||||
build-ran-build:
|
||||
condition: service_completed_successfully
|
||||
entrypoint: ""
|
||||
command: echo "gnb-image built"
|
||||
|
||||
build-ue-image:
|
||||
image: ue-local
|
||||
build:
|
||||
context: ../../../
|
||||
dockerfile: docker/Dockerfile.nrUE.ubuntu22
|
||||
tags:
|
||||
- ue-local
|
||||
depends_on:
|
||||
build-ran-build:
|
||||
condition: service_completed_successfully
|
||||
entrypoint: ""
|
||||
command: echo "ue-image built"
|
||||
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
rebuild-nr-softmodems:
|
||||
image: ran-build
|
||||
volumes:
|
||||
- ../../../:/oai-dir/
|
||||
command:
|
||||
bash -c "cd /oai-dir/ && mkdir -p cmake_targets/ran_build/build && cd cmake_targets/ran_build/build && cmake ../../../ -GNinja && cmake --build . --target nr-uesoftmodem rfsimulator nr-softmodem"
|
||||
entrypoint: ""
|
||||
depends_on:
|
||||
build-gnb-image:
|
||||
condition: service_completed_successfully
|
||||
build-ue-image:
|
||||
condition: service_completed_successfully
|
||||
Reference in New Issue
Block a user