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

Eliminate wildcard Dockerfile needs to COPY build/libs/eventuate-tram-messaging-proxy-service-<Gradle version>.jar #9

Open
cer opened this issue Mar 30, 2021 · 1 comment

Comments

@cer
Copy link
Contributor

cer commented Mar 30, 2021

COPY build/libs/eventuate-tram-messaging-proxy-service-*.jar .

The new build creates source and javadoc jars and so COPY fails because the filecard matches multiple JARs.

The solution is for the Dockerfile to COPY build/libs/eventuate-tram-messaging-proxy-service-.jar

There are several parts to the solution:

dartartem added a commit to dartartem/eventuate-tram-messaging-http that referenced this issue Mar 30, 2021
…ibs/eventuate-tram-messaging-proxy-service-<Gradle version>.jar
@dartartem
Copy link
Contributor

It took more time than expected. Because ARG position matters. https://benkyriakou.com/posts/docker-args-empty

cer added a commit that referenced this issue Mar 30, 2021
#9: Eliminate wildcard Dockerfile needs to COPY build/libs/eventuate-…
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

2 participants