Skip to content

Instantly share code, notes, and snippets.

liias / Dockerfile
Last active Jun 11, 2021
OpenTelemetry Tracing Span Event Logback configuration. Based on a Spring Boot application.
View Dockerfile
# Example Dockerfile for java application with OpenTelemetry java agent added
FROM openjdk:11-jre-slim-stretch
RUN apt update && apt install -y libtcnative-1 && rm -rf /var/lib/apt/lists/*
# mount container /tmp to host /var/lib/docker (or whatever is set on runtime)
# /tmp is the default working directory for Tomcat in Sprint Boot application

Keybase proof

I hereby claim:

  • I am liias on github.
  • I am liias ( on keybase.
  • I have a public key ASDnp7kBKDSfd5-mPuoD_YQdbzUc1glvkK40TopVG5F47wo

To claim this, I am signing this object: