bastion icon indicating copy to clipboard operation
bastion copied to clipboard

Add compose example to build bastion from source

Open jawabuu opened this issue 5 years ago • 1 comments

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

jawabuu avatar Aug 14 '19 18:08 jawabuu

Hey @osterman Great to hear from you. I don't believe I modified the README created generated by README.yaml. Kindly clarify.

jawabuu avatar Feb 04 '20 08:02 jawabuu

Shouldn't this just be docker-compose -f examples/compose/docker-compose.yml build though? Why does it need another compose file?

max-lobur avatar Apr 06 '23 11:04 max-lobur

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.

jonmchan avatar Apr 06 '23 20:04 jonmchan

Closing due to inactivity. Please reopen this PR if anyone feels this is still important. Thank you!

jonmchan avatar Apr 17 '23 19:04 jonmchan