@@ -9,7 +9,7 @@ The recommended practice for building the OpenTelemetry Collector uses
9
9
a [ ` builder ` tool] [ BUILDER ] . The builder synthesizes a Golang
10
10
` go.mod ` file and main package with a specific set of components. If
11
11
you are trying to modify and build code in this repository, see
12
- [ ../ CONTRIBUTING.md] [ CONTRIBUTING ] , otherwise the instructions here
12
+ [ CONTRIBUTING.md] [ ] , otherwise the instructions here
13
13
will help you simply build the code in order to try it out.
14
14
15
15
## Building a collector from local sources using an installed Golang toolchain
@@ -69,19 +69,13 @@ modified for integration into a custom build and release pipeline.
69
69
With Docker installed, simply run:
70
70
71
71
```
72
- docker build . -t otelarrowcol
72
+ make docker- otelarrowcol
73
73
```
74
74
75
- This command is also available as ` make docker-otelarrowcol ` . You
76
- will be able to run the [ examples] [ EXAMPLES ] using the resulting
77
- ` otelarrowcol ` image, e.g.,
78
-
79
- ```
80
- docker run otelarrowcol --config collector/examples/bridge/edge-collector.yaml
81
- ```
75
+ You will now be able to run the [ examples] [ EXAMPLES ] using the
76
+ resulting ` otelarrowcol ` image.
82
77
83
78
[ BUILDER ] : https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/builder/README.md
84
- [ CONTRIBUTING ] : ../CONTRIBUTING.md
79
+ [ CONTRIBUTING.md ] : ../CONTRIBUTING.md
85
80
[ EXAMPLES ] : ./examples/README.md
86
- [ BUILDCONFIG ] : ./cmd/otelarrowcol/build-config.yaml
87
- [ GCPSAMPLE ] : https://github.com/GoogleCloudPlatform/opentelemetry-collector-builder-sample
81
+ [ BUILDCONFIG ] : ./otelarrowcol-build.yaml
0 commit comments