Added the script for creating a docker container with webi for testing
Hello! I have created the PR in this repo. So I decided to create a script for testing Webi in the Docker Container.
If you have any ideas to improve please write.
Thank you!
@y0rune All of the POSIX changes have been made.
You should be able to test on Docker / alpine now. :)
Bump @y0rune.
Will you test this now without bash?
All right I will test it now ;)
After testing the script it created in the docker container a folder /:/opt/ when I removed from the script the mountpoint in line: https://github.com/webinstall/webi-installers/pull/461/files#diff-b8aed1a937e9424335cd5a4c1ae6e5c5c07e10f2c8ee3d491e05996881a6abeeR40.
So I resolve it today ;)
Hello! Firstly I will describe how the script worked:
-
Before changes: When I run
./webi-docker.shwithout any argument thedocker -v "":/opt/for mounting the volume created folder/:/opt/
-
After changes: When I run
./webi-docker.shwithout any argument the script for mounting the volume created folder/:/opt/
Secondly, I had to disable the SC2046 – Quote this to prevent word splitting. I tried to add in the line 42 the quotes but when I run again the script the docker run -d "" It did not work as should.
Thank you! Marcin
As far I checked I can not run the alpine linux via my script so I add it into my TODO list and after that I will create another PR. Thank you @coolaj86 ;)