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

Buildpack produced image includes the entire source build directory? #146

Open
jweaver-personal opened this issue Feb 17, 2020 · 1 comment

Comments

@jweaver-personal
Copy link

Playing around with the scala buildpack using the pack cli and the produced image in /workspace includes the entire source directory (source code, build artifacts, extraneous directories).

Is this intended? Am I not specifying something correctly?

Shouldn't the image only include the produced jars?

@jamesward
Copy link
Contributor

It would be nice to drop the source but it is a bit hard because the buildpack would need to detect the stage task outputs. There may be a way to do this using existing sbt tasks / settings but there is the possibility that something goes wrong due to different versions or something else.

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