I have 6 git submodules, each with its own Dockerfile . I installed docker-compose.yml in this format:
a: build: A dockerfile: Dockerfile ports: - "9000:9000" b: build: B dockerfile: Dockerfile ports: - "3000:3000" c: build: C dockerfile: Dockerfile ports: - "3001:3001"
A couple of my Dockerfiles have a step to install bower to install dependencies, but when that happens, it will result in an error with the following message:
bower open-sans # ~ 1.1.0 solve git: //github.com/bungeshea/open-sans.git#~1.1.0 bower base # ~ 5.5.1 ECMDERR Failed to execute "git ls-remote --tags - -heads git: //github.com/zurb/bower-foundation.git ", exit code from # 128 is fatal: not a git repository: ../. git / modules / C
Additional error information: fatal: Not git repository: .. /.git/modules/C Service 'web' could not be created: command '/ bin / sh -c npm install && & &&&& npm install -g bower && & bower installation --allow-root && npm install -g gulp && & & gulp build 'returns a non-zero code: 1
source share