OneBusAway / onebusaway-docker

Docker configuration for the OneBusAway Application Modules (https://github.com/OneBusAway/onebusaway-application-modules)
Apache License 2.0
18 stars 32 forks source link

docker-compose up on build-service and oba fails #14

Closed cohenoshri closed 4 years ago

cohenoshri commented 4 years ago

see error produced by docker-compose:

ERROR: Service 'oba' failed to build: COPY failed: stat /var/lib/docker/overlay2/b16bedda9d8f530d93774142e7422c261d0b33735d45a865072005c910576a9f/merged/app/onebusaway-transit-data-federation-builder/target/onebusaway-transit-data-federation-builder-2.0.0-SNAPSHOT-withAllDependencies.jar: no such file or directory

brodyFlannigan commented 4 years ago

Similar issue here @barbeau could you maybe look into this? image

barbeau commented 4 years ago

It looks like we're on version 2.0.1-SNAPSHOT now in the oba-app-modules project (https://github.com/OneBusAway/onebusaway-application-modules/blob/master/pom.xml#L10), so if you change the copy command to that instead of 2.0.0-SNAPSHOT, hopefully it should find the file 🤞. If that works, could you open a PR?

When 2.0.1 is released, we should really switch to checking that tag out instead of the master branch.

brodyFlannigan commented 4 years ago

👍 it worked!!!

I will open a PR shortly.

barbeau commented 4 years ago

Fixed via https://github.com/OneBusAway/onebusaway-docker/pull/18