Skip to content

Commit

Permalink
Merge branch 'main' into k8sprocessor-add-ignore-pod-names-as-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Dec 9, 2021
2 parents 6c09eff + 476633d commit 07a46c5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@
To contribute you will need to ensure you have the following setup:

- working Go environment
- installed `opentelemetry-collector-builder`

`opentelemetry-collector-builder` can be installed using following command:

```bash
cd otelcolbuilder && \
sudo make install-builder BUILDER_BIN_PATH=/usr/local/bin/opentelemetry-collector-builder && \
cd ..
```

## How to build

```
```bash
$ cd otelcolbuilder && make build
opentelemetry-collector-builder \
--config .otelcol-builder.yaml \
Expand All @@ -27,7 +36,7 @@ opentelemetry-collector-builder \
In order to build for a different platform one can use `otelcol-sumo-${platform}_${arch}`
make targets e.g.:

```
```bash
$ cd otelcolbuilder && make otelcol-sumo-linux_arm64
GOOS=linux GOARCH=arm64 /Library/Developer/CommandLineTools/usr/bin/make build BINARY_NAME=otelcol-sumo-linux_arm64
opentelemetry-collector-builder \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk --update add ca-certificates
FROM alpine:3.15.0 as directories
RUN mkdir /etc/otel/

FROM golang:1.17.3
FROM golang:1.17.4
ARG BUILD_TAG=latest
ENV TAG $BUILD_TAG
ARG USER_UID=10001
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.3-alpine as builder
FROM golang:1.17.4-alpine as builder
ADD . /src
WORKDIR /src/otelcolbuilder/
ENV CGO_ENABLED=0
Expand Down

0 comments on commit 07a46c5

Please sign in to comment.