Skip to content

Commit

Permalink
replace distroless with alpine image
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <[email protected]>
  • Loading branch information
DominikPinsel committed Sep 22, 2022
1 parent 436de34 commit 6333ed0
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ ENV OTEL_AGENT_LOCATION "https://github.com/open-telemetry/opentelemetry-java-in

RUN wget ${OTEL_AGENT_LOCATION} -O /tmp/opentelemetry-javaagent.jar

FROM gcr.io/distroless/java11-debian11@sha256:dee9240c64471f1776a6b37f315890aba14ff4bc89ad247eeb34ec79fdeb24f4
FROM alpine:3.16.2

RUN apk update && \
apk add openjdk11-jre-headless && \
apk cache clean

ARG JAR
ARG LIB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ ENV OTEL_AGENT_LOCATION "https://github.com/open-telemetry/opentelemetry-java-in

RUN wget ${OTEL_AGENT_LOCATION} -O /tmp/opentelemetry-javaagent.jar

FROM gcr.io/distroless/java11-debian11@sha256:dee9240c64471f1776a6b37f315890aba14ff4bc89ad247eeb34ec79fdeb24f4
FROM alpine:3.16.2

RUN apk update && \
apk add openjdk11-jre-headless && \
apk cache clean

ARG JAR
ARG LIB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ ENV OTEL_AGENT_LOCATION "https://github.com/open-telemetry/opentelemetry-java-in

RUN wget ${OTEL_AGENT_LOCATION} -O /tmp/opentelemetry-javaagent.jar

FROM gcr.io/distroless/java11-debian11@sha256:dee9240c64471f1776a6b37f315890aba14ff4bc89ad247eeb34ec79fdeb24f4
FROM alpine:3.16.2

RUN apk update && \
apk add openjdk11-jre-headless && \
apk cache clean

ARG JAR
ARG LIB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ ENV OTEL_AGENT_LOCATION "https://github.com/open-telemetry/opentelemetry-java-in

RUN wget ${OTEL_AGENT_LOCATION} -O /tmp/opentelemetry-javaagent.jar

FROM gcr.io/distroless/java11-debian11@sha256:dee9240c64471f1776a6b37f315890aba14ff4bc89ad247eeb34ec79fdeb24f4
FROM alpine:3.16.2

RUN apk update && \
apk add openjdk11-jre-headless && \
apk cache clean

ARG JAR
ARG LIB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ ENV OTEL_AGENT_LOCATION "https://github.com/open-telemetry/opentelemetry-java-in

RUN wget ${OTEL_AGENT_LOCATION} -O /tmp/opentelemetry-javaagent.jar

FROM gcr.io/distroless/java11-debian11@sha256:dee9240c64471f1776a6b37f315890aba14ff4bc89ad247eeb34ec79fdeb24f4
FROM alpine:3.16.2

RUN apk update && \
apk add openjdk11-jre-headless && \
apk cache clean

ARG JAR
ARG LIB

Expand Down

0 comments on commit 6333ed0

Please sign in to comment.