dgiorgio / gvm-docker

Greenbone Vulnerability Management for Docker - based on git source code.
BSD 3-Clause "New" or "Revised" License
39 stars 21 forks source link

question #1

Closed lixiang957 closed 4 years ago

lixiang957 commented 5 years ago

ERROR: Service 'gvm-master-stable-postgres' failed to build: The command '/bin/sh -c chmod +x ./build.sh && ./build.sh ${STAGE} ${DATABASE}' returned a non-zero code: 1

Containers can't be built 能看下你写的有问题吗

dgiorgio commented 5 years ago

How are you running? is in the same directory as the .env file?

lixiang957 commented 5 years ago

Direct command docker-compose -f ./docker-compose-build-postgres.yml build

lixiang957 commented 5 years ago

you use -DBACKEND=POSTGRESQL

lixiang957 commented 5 years ago

it is not the latest support

dgiorgio commented 5 years ago

The old project has been moved to the "legacy branch".

A new simpler way to build the project has been added.

Support for postgres I used as a reference to this "link" documentation. I have not validated the use with postgres, soon I will do some tests.

dgiorgio commented 4 years ago

Postgres officially supported: https://github.com/dgiorgio/gvm-docker/commit/aca30de034ad7933de2ae5be62a32614ac5e3333