Skip to content

Commit

Permalink
feat: update base image from debian 11 to 12 (#18)
Browse files Browse the repository at this point in the history
* feat: update base image from debian 11 to 12

* Update java-11/Dockerfile

Co-authored-by: Ravi Singal <62086374+ravisingal@users.noreply.github.com>

* chore: update java version

---------

Co-authored-by: Ravi Singal <62086374+ravisingal@users.noreply.github.com>
  • Loading branch information
aaron-steinfeld and ravisingal authored Sep 20, 2023
1 parent 3ea4cc8 commit 855dbd4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions java-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jdk.zipfs\
# We extract JRE's hard dependencies, libz and SSL certs, from the fat JRE image.
FROM gcr.io/distroless/java:11-debug AS deps

FROM amd64/debian:bullseye-slim As builder
FROM amd64/debian:bookworm-slim As builder
RUN apt update && apt install -y libjemalloc-dev

# Debian-11 image
FROM gcr.io/distroless/cc:debug
# Debian-12 image
FROM gcr.io/distroless/cc-debian12:debug

MAINTAINER Hypertrace "https://www.hypertrace.org/"

Expand Down
2 changes: 1 addition & 1 deletion java-11/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("org.hypertrace.docker-publish-plugin")
}

var javaVersion = "11.0.19-11.64.19"
var javaVersion = "11.0.20.1-11.66.19"

hypertraceDocker {
defaultImage {
Expand Down
2 changes: 1 addition & 1 deletion java-14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jdk.zipfs\
# We extract JRE's hard dependencies, libz and SSL certs, from the fat JRE image.
FROM gcr.io/distroless/java:11-debug AS deps

FROM gcr.io/distroless/cc:debug
FROM gcr.io/distroless/cc-debian12:debug

MAINTAINER Hypertrace "https://www.hypertrace.org/"

Expand Down

0 comments on commit 855dbd4

Please sign in to comment.