-
Notifications
You must be signed in to change notification settings - Fork 441
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
Building Docker fails to chmod it .sh files #1304
Comments
Thanks for your bug request 😃 A small |
I am facing the exact same issue, we use an entrypoint.sh in |
@muuki88 - I've created a repro here: https://github.com/hackcave/sbt-native-packager-docker-issue-1304 , |
Thanks a lot for putting together a reproducible test case. To he honest I don't know if I have the time to work on this, but if you would like to do I'll give you all necessary guidance you need 😊 |
@muuki88 - I thought about the issue deeper. I think once we set the workdir (the |
Oops, I switched directories in my reproduction, I was actually wanting to put |
Okay, now I understand the core of problem: |
Sorry for the late reply.
That's an unexpected behaviour. If you put a folder have a folder It should work if you put the files in
Yeah. There are plenty of ways to change the generated bash/bat scripts. See https://sbt-native-packager.readthedocs.io/en/stable/archetypes/java_app/customize.html#start-script-customizations |
I have a script in
src/docker/opt/docker/bin/launch.sh
.The generated
Dockerfile
:See the missing
/
in front ofopt
that leads to the following error whenDocker/publishLocal
:Workaround:
Thanks
The text was updated successfully, but these errors were encountered: