Skip to content

Commit

Permalink
dockerfiles: update Windows build (#5664)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens authored Jul 6, 2022
1 parent 138de6a commit 88f6bc4
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions dockerfiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,10 @@ In addition, metadata as defined in OCI image spec annotations, is leveraged in
### Minimum set of build-args
```powershell
docker build --no-cache `
--build-arg WINDOWS_VERSION=1809 --build-arg FLUENTBIT_VERSION=1.8.11 `
-t fluent/fluent-bit:1.8.11-nanoserver -f ./dockerfiles/Dockerfile.windows ./dockerfiles/
```
### Full set of build-args
```powershell
docker build --no-cache `
--build-arg WINDOWS_VERSION=1809 --build-arg FLUENTBIT_VERSION=1.8.11 `
--build-arg IMAGE_CREATE_DATE="$(Get-Date((Get-Date).ToUniversalTime()) -UFormat '%Y-%m-%dT%H:%M:%SZ')" `
--build-arg IMAGE_SOURCE_REVISION="$(git rev-parse HEAD)" `
-t fluent/fluent-bit:1.8.11-nanoserver -f ./dockerfiles/Dockerfile.windows ./dockerfiles/
--build-arg WINDOWS_VERSION=ltsc2019 `
-t fluent/fluent-bit:master-windows -f ./dockerfiles/Dockerfile.windows .
```

## Contact

Feel free to join us on our Mailing List or IRC:
Expand Down

0 comments on commit 88f6bc4

Please sign in to comment.