<#834 make: actionable errors for docker_dev + add...
# osctrl
g
#834 make: actionable errors for docker_dev + add docker_dev_certs target Pull request opened by alvarofraguas Summary • Updated
docker_dev_build
error messages to tell the operator exactly what to run (
cp .env.example .env
or
make docker_dev_certs
) • Added a new
docker_dev_certs
Makefile target that generates a self-signed TLS cert/key pair into
deploy/docker/conf/tls/
using the existing
openssl.cnf
Test plan • Remove
.env
and run
make docker_dev_build
— verify error message says
Run: cp .env.example .env
• Remove TLS cert/key and run
make docker_dev_build
— verify error message says
Run: make docker_dev_certs
• Run
make docker_dev_certs
— verify
osctrl.crt
and
osctrl.key
are generated in
deploy/docker/conf/tls/
• Run
make docker_dev_build
with all prerequisites in place — verify it proceeds to
docker compose build
Closes #822 jmpsec/osctrl