VOL-1318 Basic Openolt docker image creation files
Change-Id: I5bc0368df5984bd1f6baa3453e02406bdc75cda1
diff --git a/python/Makefile b/python/Makefile
index c2fd010..d6ae216 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -63,6 +63,7 @@
protos \
adapter-ponsim-olt \
adapter-ponsim-onu \
+ adapter-openolt \
# The following list was scavanged from the compose / stack files as well as
# from the Dockerfiles. If nothing else it highlights that VOLTHA is not
@@ -88,7 +89,7 @@
FETCH_IMAGE_LIST = $(shell echo $(FETCH_BUILD_IMAGE_LIST) $(FETCH_COMPOSE_IMAGE_LIST) $(FETCH_K8S_IMAGE_LIST) | tr ' ' '\n' | sort -u)
-.PHONY: $(DIRS) $(DIRS_CLEAN) $(DIRS_FLAKE8) flake8 base ponsim_olt ponsim_onu protos cli kafka common start stop tag push pull
+.PHONY: $(DIRS) $(DIRS_CLEAN) $(DIRS_FLAKE8) flake8 base openolt ponsim_olt ponsim_onu protos cli kafka common start stop tag push pull
# This should to be the first and default target in this Makefile
help:
@@ -109,6 +110,7 @@
@echo "base : Build the base docker container used by all other dockers"
@echo "adapter_ponsim_olt : Build the ponsim olt adapter docker container"
@echo "adapter_ponsim_onu : Build the ponsim olt adapter docker container"
+ @echo "adapter_openolt : Build the openolt adapter docker container"
@echo "tag : Tag a set of images"
@echo "push : Push the docker images to an external repository"
@echo "pull : Pull the docker images from a repository"
@@ -143,7 +145,7 @@
build: protoc protos containers
-containers: base adapter_ponsim_olt adapter_ponsim_onu
+containers: base adapter_ponsim_olt adapter_ponsim_onu adapter_openolt
base:
docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-base:${TAG} -f docker/Dockerfile.base .
@@ -151,6 +153,8 @@
adapter_ponsim_olt:
docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-olt:${TAG} -f docker/Dockerfile.adapter_ponsim_olt .
+adapter_openolt:
+ docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-adapter-openolt:${TAG} -f docker/Dockerfile.adapter_openolt .
adapter_ponsim_onu:
docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-onu:${TAG} -f docker/Dockerfile.adapter_ponsim_onu .