3scale / APIcast

3scale API Gateway
Apache License 2.0
305 stars 171 forks source link

Need help with build failure on power #1437

Closed Chandranana closed 3 months ago

Chandranana commented 8 months ago

I am trying to add support for apicast on power. Trying build inside container with docker ssupport. We were able to resolve the dependencies needed, and 'make dependencies' successful. However while running make development, it fails for docker compose command inside makefile.

Version

master branch

openresty -V nginx version: openresty/1.21.4.3 built by gcc 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) built with OpenSSL 1.1.1k FIPS 25 Mar 2021 TLS SNI support enabled

Steps To Reproduce
  1. make dependencies
  2. make development
Current Result

make development fails with below error when executed inside container:

make: [Makefile:208: development] Error 125 (ignored)
/usr/bin/docker compose -f docker-compose-devel.yml -f docker-compose-devel-volmount-default.yml exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" --user : development bash
unknown shorthand flag: 'f' in -f
See 'docker --help'.
Expected Result

make development should succeed.

Please let us know if anything is missing to fix this issue.

eguzki commented 8 months ago

docker version?

Mine is 2.21.0

❯ docker compose version
Docker Compose version v2.21.0
❯ docker compose --help

Usage:  docker compose [OPTIONS] COMMAND

Define and run multi-container applications with Docker.

Options:
      --ansi string                Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
      --compatibility              Run compose in backward compatibility mode
      --dry-run                    Execute command in dry run mode
      --env-file stringArray       Specify an alternate environment file.
  -f, --file stringArray           Compose configuration files
      --parallel int               Control max parallelism, -1 for unlimited (default -1)
      --profile stringArray        Specify a profile to enable
      --progress string            Set type of progress output (auto, tty, plain, quiet) (default "auto")
      --project-directory string   Specify an alternate working directory
                                   (default: the path of the, first specified, Compose file)
  -p, --project-name string        Project name
tkan145 commented 3 months ago

Considered as fixed. Feel free to reopen if you need more help