File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,14 @@ make build
47
47
```
48
48
49
49
to build the binary.
50
+
51
+ ## Building Windows containers
52
+
53
+ Use the [ docker] ( docker/ ) machine, as it comes with Docker for Windows installed and configured. After building
54
+ the application, you can build a Windows container the following way:
55
+
56
+ ``` bash
57
+ cp otelcolbuilder/cmd/otelcol-sumo.exe .
58
+ make build-push-container-windows-dev PLATFORM=windows/amd64/ltsc2022
59
+ docker run public.ecr.aws/sumologic/sumologic-otel-collector-dev:latest-windows-amd64-ltsc2022 --version
60
+ ```
Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ common_vagrantfile = "../Vagrantfile.common"
5
+ load common_vagrantfile
6
+
7
+ Vagrant . configure ( '2' ) do |config |
8
+ config . vm . box = 'gusztavvargadr/docker-windows'
9
+ config . vm . host_name = 'docker-windows'
10
+
11
+ config . vm . provider 'virtualbox' do |vb |
12
+ vb . name = 'docker-windows'
13
+ end
14
+ end
You can’t perform that action at this time.
0 commit comments