Hello! Cloned the latest version of the repositor...
# osctrl
r
Hello! Cloned the latest version of the repository 0.2.9. Can't install osctrl. What I did:
Copy code
git clone <https://github.com/jmpsec/osctrl.git>
cd osctrl/deploy/docker
cp conf/tls/openssl.cnf.example conf/tls/openssl.cnf
nano conf/tls/openssl.cnf
openssl req -x509 -new -nodes -keyout conf/tls/tls.key -out conf/tls/tls.crt -config conf/tls/openssl.cnf
uuidgen | shasum -a 256 | awk '{print $1}'
mv env.example .env
nano .env
cd /home/andrewri/Downloads/osctrl
./deploy/docker/dockerize.sh -u -b -f
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './deploy/docker/docker-compose-prod.yml'
I tried to download version 0.2.7 and install it. Repeated the same steps. The error reappears.
Copy code
[+] Building containers from deploy/docker/docker-compose-prod.yml and using ./.env
WARNING: The NGINX_VERSION variable is not set. Defaulting to a blank string.
WARNING: The OSCTRL_VERSION variable is not set. Defaulting to a blank string.
WARNING: The OSQUERY_VERSION variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_DB_NAME variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_DB_USERNAME variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_DB_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The JWT_SECRET variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_VERSION variable is not set. Defaulting to a blank string.
ERROR: The Compose file './deploy/docker/docker-compose-prod.yml' is invalid because:
services.osctrl-admin.build contains unsupported option: 'target'
services.osctrl-api.build contains unsupported option: 'target'
services.osctrl-cli.build contains unsupported option: 'target'
services.osctrl-tls.build contains unsupported option: 'target'
services.ubuntu-osquery.build contains unsupported option: 'target'
What am I doing wrong? Ubuntu Server 20.04