Skip to content

[Bug]: Temurin images contain packages only used at container build time #675

@jerboaa

Description

@jerboaa

Please add the exact image (with tag) that you are using

eclipse-temurin:jdk-17 (any Temurin container, really)

Please add the version of Docker you are running

Any

What happened?

The images contain build-only tools such as tar, wget and with #673 gpg, which are all just used at image build time to a) fetch the tarball, b) do some verification c) extract the tarball

It would be better to extract those dependencies into a builder container and build the container and then use COPY --from <BUILDER_CONTAINER>. Then the JDK container would have fewer dependencies (and only dependencies of the JDK).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions