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

Give an absolute path to the entrypoint #1101

Merged
merged 1 commit into from Feb 16, 2018

Conversation

joan38
Copy link
Contributor

@joan38 joan38 commented Feb 14, 2018

We sometimes need to change the the WORKDIR, and when we do the ENTRYPOINT becomes invalid.
In general it's good to use absolute paths unless things are sementicaly tied to each other, which is not the case of ENTRYPOINT regarding WORKDIR

@lightbend-cla-validator

Hi @joan38,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

http://www.lightbend.com/contribute/cla

@joan38
Copy link
Contributor Author

joan38 commented Feb 14, 2018

All signed

@muuki88 muuki88 added the docker label Feb 14, 2018
@muuki88
Copy link
Contributor

muuki88 commented Feb 14, 2018

Thanks for your pull request 😃

There are three scripted tests failing

  • docker / test-executableScriptName
  • docker / test-packageName-universal
  • docker / test-packageName

An absolute path makes sense to me, even my docker experience is limited.

@joan38 joan38 force-pushed the absolute-entrypoint branch 2 times, most recently from ba6f7ea to fd41a13 Compare February 15, 2018 10:02
@joan38
Copy link
Contributor Author

joan38 commented Feb 15, 2018

All good now @muuki88
Thanks

@muuki88
Copy link
Contributor

muuki88 commented Feb 16, 2018

Awesome, thanks ❤️

@muuki88 muuki88 merged commit 6c54f46 into sbt:master Feb 16, 2018
@joan38 joan38 deleted the absolute-entrypoint branch February 19, 2018 22:16
@joan38
Copy link
Contributor Author

joan38 commented Apr 6, 2018

@muuki88 Do you know if that's been released? If no will it be in the next one?

@muuki88
Copy link
Contributor

muuki88 commented Apr 6, 2018

Ah! thanks for pocking me on this. There you go 😍
https://github.com/sbt/sbt-native-packager/releases/tag/v1.3.4

@joan38
Copy link
Contributor Author

joan38 commented Apr 6, 2018

Your awesome

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

Successfully merging this pull request may close these issues.

None yet

3 participants