docker-pivpn icon indicating copy to clipboard operation
docker-pivpn copied to clipboard

Does not build ! Wrong docker build command and file/folder existence checks

Open Aquillum opened this issue 7 years ago • 1 comments
trafficstars

I tried the setup script but I could not build the Dockerfile.

*) The build command is wrong: docker build -t innovativeinventor/docker-pivpn:$tag $tag/Dockerfile it should be docker build -f $tag/Dockerfile -t innovativeinventor/docker-pivpn:$tag .

*) The checks for the existence of Dockerfile and setup_repo() { if [ -e docker-pivpn are in wrong folders, also the git clone. I can try to fake that with creating a Dockerfile in the setup.sh folder and a docker-pivpn folder inside.

*) install.sh is called 2 times !

*) the sed --> Default.txt fails, that file is not in that folder

Aquillum avatar Feb 08 '18 10:02 Aquillum

I'll check this stuff out. Although, the install.sh being called 2 times was not a mistake. There was an issue with the pivpn script and I had to call it twice. I'll be trying to remove it (because it does look sloppy). If you want to submit a pull request, I'll be happy to see your changes!

InnovativeInventor avatar Feb 16 '18 15:02 InnovativeInventor