eclipse-agail / agile-core

Source code repository for agile core components
Eclipse Public License 2.0
7 stars 16 forks source link

Service 'agile-core' failed to build: ERROR: Service 'agile-core' failed to build: Unknown flag: from #65

Closed sabrine2020 closed 6 years ago

sabrine2020 commented 7 years ago

Hello,

I got this error trying to build the agile-core from sources:

Step 21/28 : COPY --from=0 /usr/src/app/scripts scripts
ERROR: Service 'agile-core' failed to build: Unknown flag: from

Here are my docker and docker-compose versions:

Docker version 17.09.0-ce, build afdb6d4
docker-compose version 1.16.1, build 6d1ac21

Any idea how to fix this?

Thanks

cskiraly commented 7 years ago

--from was introduced in Docker 17.05 . I have not updated to 17.09, but it would be strange to see it already deprecated. In fact, according to documentation, it is there.

My best guess is that you were compiling on a remote Raspberry Pi with DOCKER_HOST set in your shell, and thus it is the RPi's docker version that counts.