-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84c8077
commit 2bb3d58
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM openjdk:8-jre | |
|
||
MAINTAINER Rodolphe CHAIGNEAU <[email protected]> | ||
|
||
ENV WIREMOCK_VERSION 2.7.1 | ||
ENV WIREMOCK_VERSION 2.8.0 | ||
ENV GOSU_VERSION 1.7 | ||
|
||
# grab gosu for easy step-down from root | ||
|
@@ -18,11 +18,13 @@ RUN set -x \ | |
|
||
# grab wiremock standalone jar | ||
RUN mkdir -p /var/wiremock/lib/ \ | ||
&& wget https://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/${WIREMOCK_VERSION}/wiremock-standalone-$WIREMOCK_VERSION.jar \ | ||
&& wget https://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/$WIREMOCK_VERSION/wiremock-standalone-$WIREMOCK_VERSION.jar \ | ||
-O /var/wiremock/lib/wiremock-standalone.jar | ||
|
||
WORKDIR /home/wiremock | ||
|
||
RUN echo $WIREMOCK_VERSION > wiremock-version | ||
|
||
COPY docker-entrypoint.sh / | ||
|
||
VOLUME /home/wiremock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM openjdk:8-jre-alpine | |
|
||
MAINTAINER Rodolphe CHAIGNEAU <[email protected]> | ||
|
||
ENV WIREMOCK_VERSION 2.7.1 | ||
ENV WIREMOCK_VERSION 2.8.0 | ||
|
||
RUN apk add --update openssl | ||
|
||
|
@@ -12,11 +12,13 @@ RUN apk add --no-cache 'su-exec>=0.2' bash | |
|
||
# grab wiremock standalone jar | ||
RUN mkdir -p /var/wiremock/lib/ \ | ||
&& wget https://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/${WIREMOCK_VERSION}/wiremock-standalone-$WIREMOCK_VERSION.jar \ | ||
&& wget https://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/$WIREMOCK_VERSION/wiremock-standalone-$WIREMOCK_VERSION.jar \ | ||
-O /var/wiremock/lib/wiremock-standalone.jar | ||
|
||
WORKDIR /home/wiremock | ||
|
||
RUN echo $WIREMOCK_VERSION > wiremock-version | ||
|
||
COPY docker-entrypoint.sh / | ||
|
||
VOLUME /home/wiremock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters