Skip to content

Publish a opentelemetry-javawrapper-layer.tar.gz #2536

Description

@bcmedeiros

Is your feature request related to a problem? Please describe.
I'm currently having to do all this to have this layer in my docker image:

FROM --platform=$BUILDPLATFORM public.ecr.aws/lambda/java:17.al2023 AS otel-layer
ADD --checksum=sha256:9a6723de27846ccc7e1691a464733ba40b62622171060dbff06698e346b7d3de \
    https://github.com/open-telemetry/opentelemetry-lambda/releases/download/layer-javaagent%2F0.21.0/opentelemetry-javawrapper-layer.zip /tmp/layer.zip
RUN dnf install -y unzip && unzip -q /tmp/layer.zip -d /tmp/layer

FROM public.ecr.aws/lambda/java:17.al2023
COPY --from=otel-layer --chmod=755 /tmp/layer/ /opt/

Describe the solution you'd like
If this project publishes a tar.gz version of the artifact in the release, we could have a much simpler version:

FROM public.ecr.aws/lambda/java:17.al2023
ADD https://github.com/open-telemetry/opentelemetry-lambda/releases/download/layer-javaagent%2F0.21.0/opentelemetry-javawrapper-layer.tar.gz /opt/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestjavaPull requests that update Java code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions