Rewrite NTS Framework.
[sim/o1-interface.git] / ntsimulator / nts-ng-docker-image-build-ubuntu.yaml
diff --git a/ntsimulator/nts-ng-docker-image-build-ubuntu.yaml b/ntsimulator/nts-ng-docker-image-build-ubuntu.yaml
new file mode 100644 (file)
index 0000000..051da85
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Copyright 2020 highstreet technologies GmbH and others
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: "2.4"
+services:
+  ###################################################
+  ####### Base docker image containing the framework
+  ###################################################
+  nts-ng-base:
+    image: o-ran-sc/nts-ng-base
+    build: 
+      context: .
+      dockerfile: ./deploy/base/ubuntu.Dockerfile
+  
+  ###################################################
+  ####### NTS-NG Manager
+  ###################################################
+  nts-ng-manager:
+    image: o-ran-sc/nts-ng-manager
+    build:
+      context: ./deploy/nts-manager
+      dockerfile: ubuntu.Dockerfile
+      args: 
+        - BUILD_DATE
+
+  ###################################################
+  ####### O-RAN FH
+  ###################################################
+  nts-ng-o-ran-fh:
+    image: o-ran-sc/nts-ng-o-ran-fh
+    build:
+      context: ./deploy/o-ran
+      dockerfile: ubuntu.Dockerfile
+      args: 
+        - BUILD_DATE
+
+  ###################################################
+  ####### X-RAN
+  ###################################################
+  nts-ng-x-ran:
+    image: o-ran-sc/nts-ng-x-ran
+    build:
+      context: ./deploy/x-ran
+      dockerfile: ubuntu.Dockerfile
+      args: 
+        - BUILD_DATE