Skip to content

Commit

Permalink
chore(deps): container image updates (#150)
Browse files Browse the repository at this point in the history
* chore(deps): updated to nodejs 20

* chore(deps): updated keycloak to 22

* chore(deps): updated to java distroless based on Debian 12

* chore: downgrade keycloak
  • Loading branch information
chgl authored Oct 7, 2023
1 parent 298b6d9 commit be965ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/library/gradle:8.4.0-jdk17@sha256:e7d68f73bf6db644ca5947eb83588c1
WORKDIR /home/gradle/src
ENV GRADLE_USER_HOME="/gradle"

ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.27.0
ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.30.0
RUN wget --quiet "https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${OPENTELEMETRY_JAVA_AGENT_VERSION}/opentelemetry-javaagent.jar"

COPY settings.gradle ./
Expand All @@ -24,7 +24,7 @@ ENV TZ="UTC"
RUN gradle ":${MODULE_NAME}:test" && \
gradle jacocoTestReport

FROM gcr.io/distroless/java17-debian11:nonroot@sha256:6e9c1615972eaef182a0bc6cca02fbbf62ad6e160118461616ed1a688c3823ea
FROM gcr.io/distroless/java17-debian12:nonroot@sha256:340af6ae4c452f0f68b2ea10c78ba42d9fd5faa687ac6b72cc703f849f8080b1
WORKDIR /app

COPY --from=build /home/gradle/src/opentelemetry-javaagent.jar ./opentelemetry-javaagent.jar
Expand Down
4 changes: 2 additions & 2 deletions src/list/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/node:18.18.0@sha256:ee0a21d64211d92d4340b225c556e9ef1a8bce1d5b03b49f5f07bf1dbbaa5626 AS base
FROM docker.io/library/node:20.8.0@sha256:6b3f9aa7eefa8d4c93d43914e78aa2bfea9a12808b0059e5da78854dfa8b8768 AS base
WORKDIR /app

COPY package.json ./
Expand Down Expand Up @@ -26,7 +26,7 @@ COPY server/package.json ./server/
RUN npm clean-install --workspace=server
COPY server/*.js ./server/

FROM gcr.io/distroless/nodejs:18@sha256:b534f9b5528e69baa7e8caf7bcc1d93ecf59faa15d289221decf5889a2ed3877
FROM gcr.io/distroless/nodejs20-debian12:nonroot@sha256:6ac88bf8da1e58af449c9c4ff86ccd20fc062b0f9585e5d53f85fe9657d3f681
WORKDIR /app
USER 65532:65532
# Port 8081 is currently not used, but exposed to make
Expand Down

0 comments on commit be965ad

Please sign in to comment.