Skip to content

Commit d151eb4

Browse files
authored
--WireMockLogger (version 1.0.18) (#19)
1 parent d8bc73c commit d151eb4

9 files changed

+23
-9
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ docker pull sheyenrath/wiremock.net-nanoserver-1809
4545
docker run -it --rm -p 9091:80 sheyenrath/wiremock.net-nanoserver-1809
4646
```
4747

48+
## Windows 2019
49+
50+
### Pull latest image
51+
52+
```sh
53+
docker pull sheyenrath/wiremock.net-windows-2019
54+
```
55+
56+
### Start the WireMock.Net container
57+
58+
```sh
59+
docker run -it --rm -p 9091:80 sheyenrath/wiremock.net-windows-2019
60+
```
61+
4862
## Commands
4963
For all possible commands, see this [WIKI - Commandlin Arguments](https://github.com/WireMock-Net/WireMock.Net-docker/wiki/Commandline-arguments)
5064

StandAlone.NETCoreApp/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
1717
WORKDIR /app
1818
COPY --from=build-env /app/out ./
1919
EXPOSE 80
20-
ENTRYPOINT ["./wiremock-net", "--Urls", "http://*:80", "--ReadStaticMappings", "false"]
20+
ENTRYPOINT ["./wiremock-net", "--Urls", "http://*:80", "--ReadStaticMappings", "false", "--WireMockLogger", "WireMockConsoleLogger"]
2121

2222
# Just some info:
2323
# build with : docker build -t wiremock.net .

StandAlone.NETCoreApp/Dockerfile.nanoserver-1803

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-nanoserver-1803
1717
WORKDIR /app
1818
COPY --from=build-env /app/out ./
1919
EXPOSE 80
20-
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false"]
20+
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false", "--WireMockLogger", "WireMockConsoleLogger"]
2121

2222
# Just some info to build and run:
2323
# build with : docker build -t sheyenrath/wiremock.net-nanoserver-1803 -f Dockerfile.nanoserver-1803 .

StandAlone.NETCoreApp/Dockerfile.nanoserver-1809

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-nanoserver-1809
1717
WORKDIR /app
1818
COPY --from=build-env /app/out ./
1919
EXPOSE 80
20-
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false"]
20+
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false", "--WireMockLogger", "WireMockConsoleLogger"]
2121

2222
# Just some info to build and run:
2323
# build with : docker build -t sheyenrath/wiremock.net-nanoserver-1803 -f Dockerfile.nanoserver-1803 .

StandAlone.NETCoreApp/Dockerfile.windows-2019

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
1717
WORKDIR /app
1818
COPY --from=build-env /app/out ./
1919
EXPOSE 80
20-
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false"]
20+
ENTRYPOINT ["dotnet", "wiremock-net.dll", "--Urls", "http://*:80", "--ReadStaticMappings", "false", "--WireMockLogger", "WireMockConsoleLogger"]

StandAlone.NETCoreApp/StandAlone.NETCoreApp.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="WireMock.Net" Version="1.0.16" />
11-
<PackageReference Include="WireMock.Net.StandAlone" Version="1.0.16" />
10+
<PackageReference Include="WireMock.Net" Version="1.0.18" />
11+
<PackageReference Include="WireMock.Net.StandAlone" Version="1.0.18" />
1212
</ItemGroup>
1313

1414
</Project>

azure-pipelines-windows-2019.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
buildConfiguration: 'Release'
66
imageName: 'wiremock.net-windows-2019'
77
buildProjects: '**/StandAlone.NETCoreApp.csproj'
8-
tag: '1.0.16'
8+
tag: '1.0.18'
99

1010
steps:
1111
# Build StandAlone.NETCoreApp

azure-pipelines.nano.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
buildConfiguration: 'Release'
66
imageName1803: 'wiremock.net-nanoserver-1803'
77
buildProjects: '**/StandAlone.NETCoreApp.csproj'
8-
tag: '1.0.16'
8+
tag: '1.0.18'
99

1010
steps:
1111
# Build StandAlone.NETCoreApp

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
buildConfiguration: 'Release'
66
imageName: 'wiremock.net'
77
buildProjects: '**/StandAlone.NETCoreApp.csproj'
8-
tag: '1.0.16'
8+
tag: '1.0.18'
99

1010
steps:
1111
# Build StandAlone.NETCoreApp

0 commit comments

Comments
 (0)