Skip to content

Commit

Permalink
Initial fix for FAB-1413.
Browse files Browse the repository at this point in the history
Use platform specific testenv image as base image for orderer kafka
behave tests instead of using x86_64 specific openjre image. This ensures
'make behave' works on all platforms (x86_64, ppc64le and s390x).

Change-Id: Ib12a3e1162b0bbec19f7c17cd35b2a91dc9afa74
Signed-off-by: Krishna Harsha Voora <krishvoor@in.ibm.com>
  • Loading branch information
Krishna Harsha Voora committed Jan 13, 2017
1 parent 4a156cc commit 433834c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ BEHAVE_ENVIRONMENTS = kafka orderer-1-kafka-1 orderer-1-kafka-3
.PHONY: behave-environments $(BEHAVE_ENVIRONMENTS)
behave-environments: $(BEHAVE_ENVIRONMENTS)
$(BEHAVE_ENVIRONMENTS):
@echo "# Generated from Dockerfile.in. DO NOT EDIT!" > bddtests/environments/kafka/Dockerfile
@cat bddtests/environments/kafka/Dockerfile.in | \
sed -e "s|_DOCKER_TAG_|$(DOCKER_TAG)|" >> bddtests/environments/kafka/Dockerfile
@docker-compose --file bddtests/environments/$@/docker-compose.yml build

behave-deps: docker peer build/bin/block-listener behave-environments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8u111-jre
FROM hyperledger/fabric-testenv:_DOCKER_TAG_

ENV SCALA_VERSION=2.11 \
KAFKA_VERSION=0.9.0.1 \
Expand Down

0 comments on commit 433834c

Please sign in to comment.