Skip to content

Commit

Permalink
[CE-361] Update make targets for ppc64le/s390x
Browse files Browse the repository at this point in the history
This PR Addresses 2 points :-

1) make target "watchdog" for ppc64le/s390x is not present.

2) make target "engine" was moved to dockerhub location
as part of commit 2891c4f
and hence make start would fail.

Change-Id: I6fbf365feffa53a0f92e7e481606b40f1ac6225b
Signed-off-by: Krishna Harsha Voora <krishvoor@in.ibm.com>
  • Loading branch information
krishvoor committed May 10, 2018
1 parent c48f30a commit 896c084
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ else
endif

# Docker images needed to run cello services
DOCKER_IMAGES = baseimage mongo nginx operator-dashboard ansible-agent user-dashboard
DOCKER_IMAGES = baseimage mongo nginx engine operator-dashboard ansible-agent watchdog user-dashboard
DUMMY = .$(IMG_TAG)

ifeq ($(DOCKER_BASE), )
Expand Down Expand Up @@ -102,8 +102,10 @@ all: check
build/docker/baseimage/$(DUMMY): build/docker/baseimage/$(DUMMY)
build/docker/nginx/$(DUMMY): build/docker/nginx/$(DUMMY)
build/docker/mongo/$(DUMMY): build/docker/mongo/$(DUMMY)
build/docker/engine/$(DUMMY): build/docker/engine/$(DUMMY)
build/docker/operator-dashboard/$(DUMMY): build/docker/operator-dashboard/$(DUMMY)
build/docker/ansible-agent/$(DUMMY): build/docker/ansible-agent/$(DUMMY)
build/docker/watchdog/$(DUMMY): build/docker/watchdog/$(DUMMY)
build/docker/user-dashboard/$(DUMMY): build/docker/user-dashboard/$(DUMMY)

build/docker/%/$(DUMMY): ##@Build an image locally
Expand Down Expand Up @@ -132,7 +134,7 @@ docker: $(patsubst %,build/docker/%/$(DUMMY),$(DOCKER_IMAGES)) ##@Generate docke

docker-operator-dashboard: build/docker/operator-dashboard/$(DUMMY)

docker-clean: image-clean ##@Clean all existing images
docker-clean: stop image-clean ##@Clean all existing images

DOCKERHUB_IMAGES = baseimage engine mongo nginx operator-dashboard user-dashboard watchdog ansible-agent

Expand Down
12 changes: 12 additions & 0 deletions docker/engine/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright IBM Corp, All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
FROM _NS_/cello-baseimage:_TAG_

# use this in development
CMD ["python", "restserver.py"]

# use this in product
#CMD ["gunicorn", "-w", "128", "-b", "0.0.0.0:80", "restserver:app"]

8 changes: 8 additions & 0 deletions docker/watchdog/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright IBM Corp, All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
FROM _NS_/cello-baseimage:_TAG_

# use this in development
CMD ["python", "watchdog.py"]

0 comments on commit 896c084

Please sign in to comment.