Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eclipse-temurin images have no gpg binaries #256

Open
btheu opened this issue Jan 22, 2022 · 5 comments
Open

eclipse-temurin images have no gpg binaries #256

btheu opened this issue Jan 22, 2022 · 5 comments

Comments

@btheu
Copy link

btheu commented Jan 22, 2022

Hi,

Moving the build pipeline usage from maven:3.8-openjdk-17 to maven:3.8-eclipse-temurin-17 makes open source projects failing.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project futurefit: Unable to execute gpg command: Error while executing process. Cannot run program "/usr/bin/gpg": error=2, No such file or directory -> [Help 1]

This is at gpg signing time before deploying to maven central.

Since gpg is a standard tool for signing maven artifacts, shouldn't it be included to maven eclipse-temurin images like maven:3.8-openjdk-17 ?

Regards,

@carlossg
Copy link
Owner

the images have the bare minimum, some images don't even have git

@dkowis
Copy link

dkowis commented Jan 4, 2023

Could it be codified what binaries come standard on the image?

Some have git and some don't, and consistency, in either direction, would be super nice to have. Thanks!

@carlossg
Copy link
Owner

right now they have what comes from the parent images and it is tested under
https://github.com/carlossg/docker-maven/blob/master/tests/tests.bats#L63-L140

I'm not keen on installing extra packages as that could open a can of worms

@dkowis
Copy link

dkowis commented Jan 11, 2023

Does this mean that all images will have this minimal baseline of packages, or will the tests be tailored to each upstream?

Thanks!

@carlossg
Copy link
Owner

tests are tailored to each upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants