-
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
Sed command error in ash-template file #1154
Comments
Thanks for the very detailed and well written issue ❤️ Reverting the change from #1122 for the Would you like to open a pull request to fix this? |
Of course, PR #1155 |
@muuki88 Hi, I am running into this in a maintenance scenario where I cannot currently upgrade away from sbt-native-packager 1.3.6 Therefore I would kindly like to ask you if you can remember if this Issue had any actual negative effects? I read in the code that the sed command is for loading "a configuration file full of default command line options for this script". |
Hi @IOSven Thanks for your kind question. Unfortunately I have no clue of the impacts as I haven't used any of those features 😬😟 |
Expected behaviour
Running a container with ash/dash session should work without
sed
command error.Actual behaviour
Running a container in which the entrypoint is a dash session I'm getting the following error:
Reproducible
Steps to reproduce it using a github repo
I've created a repo to reproduce the issue (master with 1.3.4):
sbt docker:publishLocal
docker run [IMAGE ID]
Update the native-packager version to 1.3.5+:
sbt docker:publishLocal
docker run [IMAGE ID]
Another way to reproduce it using different shell sessions in the container
With dash:
First
sed
command is from 1.3.4The second one is from 1.3.5+
However, with bash works fine both 1.3.4 and 1.3.5 (I think that file changed
bash-template
#1122 solves the OSX problem and does not affect anything else):Should be removed the change in the
ash-template
introduced in 1.3.5?Information
rpm --version
): Docker version 18.06.0-ce, build 0ffa825The text was updated successfully, but these errors were encountered: