Skip to content

Commit

Permalink
Bump debian from 11 to 12 (#219)
Browse files Browse the repository at this point in the history
* Bump debian from 11 to 12

Bumps debian from 11 to 12.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update distroless Debian image to v12

* Update SHA to ref latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <[email protected]>
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
3 people authored Aug 28, 2023
1 parent 39599dc commit 9f59848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:11 as builder
FROM debian:12 as builder
ARG TARGETARCH
RUN apt-get update && apt-get install -y curl clang gcc llvm make libbpf-dev -y
RUN curl -LO https://go.dev/dl/go1.20.linux-${TARGETARCH}.tar.gz && tar -C /usr/local -xzf go*.linux-${TARGETARCH}.tar.gz
Expand All @@ -7,6 +7,6 @@ WORKDIR /app
COPY . .
RUN make build

FROM gcr.io/distroless/base-debian11@sha256:73deaaf6a207c1a33850257ba74e0f196bc418636cada9943a03d7abea980d6d
FROM gcr.io/distroless/base-debian12@sha256:c7bc12a0d98616d80a82e3557de99880d9b6b10a31e281e5174709c95609ae79
COPY --from=builder /app/otel-go-instrumentation /
CMD ["/otel-go-instrumentation"]

0 comments on commit 9f59848

Please sign in to comment.