docker-db-apex-dev icon indicating copy to clipboard operation
docker-db-apex-dev copied to clipboard

Build fails for Docker on Windows

Open jdebedts opened this issue 4 years ago • 3 comments

I know maybe not the best idea but I install the Windows Docker Desktop and tried to build the image. It keeps on failing on the build due to errors in the install_main.sh script.

First error was that Docker on Windows complains about bash not being OK, after I deleted the invocation of bash it is giving me an unexpected end of file on line 135. No idea why, but I have to admit I am pretty new to Docker.

jdebedts avatar May 07 '21 10:05 jdebedts

Hi, did you clone the repo using git or did you download the zip? Seems that git in Windows could have some problems with line endings: https://github.com/Dani3lSun/docker-db-apex-dev/issues/25

If so just download the zip of the repo, then you should be good to go

Dani3lSun avatar May 07 '21 11:05 Dani3lSun

Thanks for getting back to me. Downloaded the zip file, tried from there, and getting executor failed running [/bin/sh -c /scripts/install_main.sh]: exit code: 1

jdebedts avatar May 07 '21 13:05 jdebedts

Hmm there are happening a couple of validations in https://github.com/Dani3lSun/docker-db-apex-dev/blob/master/scripts/validations.sh Could be that you didn't download all the required files and executables which should be placed under "files" directory

Dani3lSun avatar May 10 '21 11:05 Dani3lSun