You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pact_mock_server_cli/Dockerfile
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@ ARG BIN_ARCH=x86_64
4
4
ARG VERSION=1.0.5
5
5
6
6
RUN apk --no-cache add wget
7
-
RUN wget -O pact_mock_server_cli.gz https://github.com/pact-foundation/pact-reference/releases/download/pact_mock_server_cli-v${VERSION}/pact_mock_server_cli-linux-${BIN_ARCH}.gz
8
-
RUN gunzip pact_mock_server_cli.gz
9
-
RUN chmod +x pact_mock_server_cli
7
+
RUN wget -O pact-mock-server.gz https://github.com/pact-foundation/pact-reference/releases/download/pact_mock_server_cli-v${VERSION}/pact-mock-server-linux-${BIN_ARCH}.gz
8
+
RUN gunzip pact-mock-server.gz
9
+
RUN chmod +x pact-mock-server
10
10
11
11
12
12
# Now, we need to build our _real_ Docker container, copying in the executable.
-f, --file <file> the pact file to define the mock server
124
-
--help Print help and exit
125
-
-c, --cors-preflight Handle CORS pre-flight requests
126
-
-v, --version Print version information and exit
127
-
-p, --port <port> port the master mock server runs on (defaults to 8080)
128
-
--tls Enable TLS with the mock server (will use a self-signed certificate)
129
-
-h, --host <host> hostname the master mock server runs on (defaults to localhost)
130
-
-l, --loglevel <loglevel> Log level for mock servers to write to the log file (defaults to info) [possible values: error, warn, info, debug, trace, none]
131
-
--no-term-log Turns off using terminal ANSI escape codes
132
-
--no-file-log Do not log to an output file
123
+
-f, --file <file> the pact file to define the mock server
124
+
--help Print help and exit
125
+
-c, --cors-preflight Handle CORS pre-flight requests
126
+
-v, --version Print version information and exit
127
+
-p, --port <port> port the master mock server runs on (defaults to 8080)
128
+
--specification <specification> The Pact specification version to use (defaults to V4)
129
+
-h, --host <host> hostname the master mock server runs on (defaults to localhost)
130
+
--tls Enable TLS with the mock server (will use a self-signed certificate)
131
+
-l, --loglevel <loglevel> Log level for mock servers to write to the log file (defaults to info) [possible values: error, warn, info, debug, trace, none]
132
+
--no-term-log Turns off using terminal ANSI escape codes
133
+
--no-file-log Do not log to an output file
133
134
134
135
135
136
```
@@ -143,7 +144,7 @@ This option specifies the pact file to base the mock server on. It is a mandator
0 commit comments