bastion
bastion copied to clipboard
Add compose example to build bastion from source
Enhance docker-compose example to build bastion from source. We should look at Issue #46 to see why below error occurs when SSH_AUDIT_ENABLED=true
bastion_1 | Initializing ssh-audit
bastion_1 | - Enabling SSH Audit Logs
bastion_1 | Password: chsh: PAM: Authentication token manipulation error
bastion_1 | FATAL: Failed to initialize
@osterman
Hey @osterman Great to hear from you. I don't believe I modified the README created generated by README.yaml. Kindly clarify.
Shouldn't this just be docker-compose -f examples/compose/docker-compose.yml build
though?
Why does it need another compose file?
Shouldn't this just be
docker-compose -f examples/compose/docker-compose.yml build
though? Why does it need another compose file?
The current docker-compose.yml file does not build from source. Executing that command would still pull from hub.docker.com.
That said, I think it is trivial for anyone with decent experience with docker to configure a docker-compose.yml file that builds from source. Additionally, the test/docker-compose.yml
now even serves as an example for building from source.
I'd be in favor of just closing this PR.
Closing due to inactivity. Please reopen this PR if anyone feels this is still important. Thank you!