FIWARE / api-umbrella

Open source API management platform
https://fiware-api-umbrella.readthedocs.io/
MIT License
2 stars 7 forks source link

Cannot build api-umbrella using Docker Compose #28

Open YujiAzama opened 2 years ago

YujiAzama commented 2 years ago

Hi,

I'm trying to build an API Umbrella using Docker Compose. However, the build fails and stops. Is there a solution to this problem?

$ docker-compose up -d
...
Unlocking task 'app/web-app/precompile'
task: ./tasks/app/core
+ source ./tasks/helpers.sh
++ set +x
+ mkdir -p /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0
+ rsync -a --delete-after --delete-excluded '--filter=:- /app/.gitignore' --include=/templates/etc/perp/.boot '--exclude=.*' '--exclude=/templates/etc/test-env*' '--exclude=/templates/etc/perp/test-env*' --exclude=/src/api-umbrella/web-app/spec --exclude=/src/api-umbrella/web-app/app/assets '--include=/bin/***' '--include=/config/***' --include=/LICENSE.txt '--include=/templates/***' '--include=/src/***' '--exclude=*' /app/ /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/
+ mkdir -p /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/build/dist
+ rsync -a --delete-after /app/build/work/tasks/app/admin-ui/build/_persist/dist/ /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/build/dist/admin-ui/
rsync: change_dir "/app/build/work/tasks/app/admin-ui/build/_persist/dist" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
task: Failed to run task "default": task: Failed to run task "all": task: Failed to run task "app": task: Failed to run task "app:core": exit status 23
Makefile:24: recipe for target 'task-passthrough' failed
make: *** [task-passthrough] Error 1
ERROR: Service 'app' failed to build: The command '/bin/sh -c ./configure && make' returned a non-zero code: 2