diff options
author | Dmitry Puzikov <dmitry.puzikov@tieto.com> | 2019-02-21 16:30:05 +0100 |
---|---|---|
committer | Dmitry Puzikov <dmitry.puzikov@tieto.com> | 2019-02-22 15:07:03 +0100 |
commit | b7e96e84e4ce79b5ca025f788fedc62ad2196c1c (patch) | |
tree | 55896f45cfb8f74c52656c7539602fa0c61ff3ec /test/mocks/sniroemulator/src/main/docker | |
parent | ced503350203184b16f1835d6cc735f1a921ae11 (diff) |
Fix sniroemulator to make container arm64-ready
Swicth from debian based image to alpine based image.
Fix docker-plugin version.
Change-Id: I87af14b9785f70f49955ba299ed6e3d8ff9866f3
Issue-ID: INT-879
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Diffstat (limited to 'test/mocks/sniroemulator/src/main/docker')
-rw-r--r-- | test/mocks/sniroemulator/src/main/docker/Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/mocks/sniroemulator/src/main/docker/Dockerfile b/test/mocks/sniroemulator/src/main/docker/Dockerfile index 05f3a5a2b..65e129a27 100644 --- a/test/mocks/sniroemulator/src/main/docker/Dockerfile +++ b/test/mocks/sniroemulator/src/main/docker/Dockerfile @@ -1,10 +1,13 @@ -FROM openjdk:8-jre +FROM openjdk:8-jre-alpine MAINTAINER Geora Barsky <georab@amdocs.com> +# need bash as most scripts expect it +RUN apk --no-cache add bash + RUN mkdir -p /var/wiremock/lib/ -ADD sniroemulator.jar /var/wiremock/lib/app.jar +COPY sniroemulator.jar /var/wiremock/lib/app.jar WORKDIR /home/wiremock |