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

Maven wrapper now found during K8s docker build #1316

Closed
ml170722d opened this issue Nov 29, 2023 · 4 comments
Closed

Maven wrapper now found during K8s docker build #1316

ml170722d opened this issue Nov 29, 2023 · 4 comments

Comments

@ml170722d
Copy link

The image for k8s can not be build because the Maven wrapper is not found.

Build fails on this line.

RUN ./mvnw clean package -Pkubernetes -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"

The issue is that the .mvn directory and mvnw executable are not added to the docker image during the build.

@goekay
Copy link
Member

goekay commented Dec 3, 2023

@juherr ?

juherr added a commit to juherr/steve that referenced this issue Dec 3, 2023
@juherr
Copy link
Contributor

juherr commented Dec 3, 2023

Should be fixed by #1319 but it is not tested.

@goekay
Copy link
Member

goekay commented Jan 7, 2024

@ml170722d can you briefly explain how you are using the k8s with steve?

background: #1351

@ml170722d
Copy link
Author

Hi,

I was trying to run steve in my cluster for testing porpoises, but was unable to build the Docker image. The cause was mentioned above.

When I added 1 or 2 lines of code to Dockerfile it worked end I continued to use steve normally. There was nothing special about steve setup and usage. Lines I added were for adding .mvn directory with wrapper inside.

Basically, I was using steve as a plug in and play solution for my tests. Hope this explanation is good enough.

@goekay goekay closed this as completed May 20, 2024
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