diff options
author | Taseer Ahmed <taseer94@gmail.com> | 2017-08-04 10:45:35 +0500 |
---|---|---|
committer | Mark Beierl <mark.beierl@dell.com> | 2017-08-17 15:09:47 +0000 |
commit | de09799887339c5af02d96e20bb417fa65dbc8d1 (patch) | |
tree | 7a6bf31b96ec3f65f2d28ef440a8b7c1a8ce2366 /docker/local-docker-compose.yaml | |
parent | 1d3a2a843e03b8e36d6ac2069fdb1e143b08c91c (diff) |
Support for Docker images on ARM processors.
- Usage: docker build --build-arg ARCH=<arch_type> .
Change-Id: I9018c627cef05e69492dbdefbe750d72cf98064d
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'docker/local-docker-compose.yaml')
-rw-r--r-- | docker/local-docker-compose.yaml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/docker/local-docker-compose.yaml b/docker/local-docker-compose.yaml index 5520b5f..97c77ec 100644 --- a/docker/local-docker-compose.yaml +++ b/docker/local-docker-compose.yaml @@ -12,7 +12,10 @@ services: storperf-master: container_name: "storperf-master" - build: storperf-master + build: + context: storperf-master + args: + ARCH: ${ARCH} ports: - "8000:8000" env_file: ${ENV_FILE} @@ -22,19 +25,26 @@ services: storperf-reporting: container_name: "storperf-reporting" - build: storperf-reporting - ports: - - "5080:5000" + build: + context: storperf-reporting + args: + ARCH: ${ARCH} volumes: - ./storperf-reporting/:/home/opnfv/storperf-reporting storperf-swaggerui: container_name: "storperf-swaggerui" - image: "schickling/swagger-ui" + build: + context: storperf-swaggerui + args: + ARCH: ${ARCH} storperf-httpfrontend: container_name: "storperf-httpfrontend" - build: storperf-httpfrontend + build: + context: storperf-httpfrontend + args: + ARCH: ${ARCH} ports: - "5000:5000" links: |