-
Notifications
You must be signed in to change notification settings - Fork 443
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
Docker fails to build container #634
Comments
You are not using any archetype. So currently nothing is packaged. Replace |
I hit this too because |
@brianlow what would have helped you to solve this issue on your own? The getting started guide doesn't mention the |
This section confused me on the docker page:
Some of my problem was just being new. I didn't understand formats vs archetypes. Also I started on the Docker page rather than Getting Started Guide since that was more specific to my goal. |
And it is. The
This is a crucial part of the more detail documentation, when you want to customize things and get deeper into native-packager.
Only the
The getting started page is always a good point to start as the name suggests ;) |
👍 |
I agree with @brianlow . I just wanted to quickly dockerize my Scala app without considering the other packaging it is doing under the hood. I had no idea that I would recommend adding a short paragraph explaining this to the docker docs. |
@seglo thanks for your input :) I would love to merge a pull request adding this small paragraph to the docker, debian, rpm, universal and windows section. This question comes up far too often and adding this little piece of extra information hopefully does the trick. |
Thanks for this, I was confused too |
Also hit this issue, but this thread cleared it up for me. I would agree with @brianlow and @seglo too; I think a lot of people will be landing on the "Docker Plugin" webpage: you do a Google search for I think what's technically correct and what's useful aren't always going to be the same thing. It might not be technically correct to put a |
@ljwagerfield Adding a hint is definitely a good start. Do you have the time to make a pull request for this? If you need guidance, feel free to ask 😄 |
I set up the docker build in my
build.sbt
according to docs but it fails to build the docker container. What is wrong?my
build.sbt
:and error when I try to build it in my docker:
The text was updated successfully, but these errors were encountered: