Skip to content

Commit

Permalink
Merge pull request #128 from aws-observability/go_sum_bump
Browse files Browse the repository at this point in the history
Go sum bump
  • Loading branch information
mhausenblas committed Apr 15, 2024
2 parents 4259aa4 + 76f5503 commit f7caca2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 262 deletions.
3 changes: 2 additions & 1 deletion sandbox/ho11y/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM golang:1.15-alpine AS build
FROM golang:1.16-alpine AS build
RUN go env -w GOPROXY=direct
RUN apk add --no-cache git
RUN apk update && apk add ca-certificates
WORKDIR /usr/src/app
COPY . .
RUN go mod tidy
RUN CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"'

FROM amazonlinux:2
Expand Down
2 changes: 1 addition & 1 deletion sandbox/ho11y/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ OTLP interface | | OM exposition at '/metrics'
downstreams
```

To use `ho11y`, build the binary with `go build .` and launch it then as follows:
To use `ho11y`, build the binary with `go mod tidy && go build .` and launch it then as follows:

```
$ ./ho11y
Expand Down
Loading

0 comments on commit f7caca2

Please sign in to comment.