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

dockerEntrypoint not being set in 1.0.0-M1 and 1.0.0-M2 #536

Closed
davidmweber opened this issue Mar 29, 2015 · 3 comments
Closed

dockerEntrypoint not being set in 1.0.0-M1 and 1.0.0-M2 #536

davidmweber opened this issue Mar 29, 2015 · 3 comments
Labels
docker documentation Documentation should be extended or updated

Comments

@davidmweber
Copy link

It appears that the [ENTRYPOINT] statement in the staged Dockerfile is not being set to the value specified using dockerEntrypoint. It worked in 1.0.0-M4 but not in RC1 or RC2. The exact command used (build.sbt) is:

dockerEntrypoint in Docker := Seq("sh", "-c", "/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1 }'` bin/executable $*")

In 1.0.0-M1/M2, it is set to "/bin/executable"

@muuki88 muuki88 added docker bug and removed bug labels Mar 29, 2015
@muuki88
Copy link
Contributor

muuki88 commented Mar 29, 2015

We removed the Docker scope from dockerEntrypoint has the scope is already visible in the settings name.

dockerEntrypoint := Seq("sh", "-c", "/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1 }'` bin/executable $*")

should be enough.

@muuki88 muuki88 closed this as completed Mar 29, 2015
@muuki88 muuki88 added the documentation Documentation should be extended or updated label Mar 29, 2015
@davidmweber
Copy link
Author

Sweet. Much appreciated.

@davidmweber
Copy link
Author

FYI, this solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker documentation Documentation should be extended or updated
Projects
None yet
Development

No branches or pull requests

2 participants