keybase / bot-sshca

A chat bot that can manage your team's SSH accounts
BSD 3-Clause "New" or "Revised" License
222 stars 30 forks source link

Add alpine dockerimage #70

Closed teutat3s closed 4 years ago

teutat3s commented 4 years ago

Thank you for this nice piece of software!

The current ca docker image that gets built is pretty big, 1.62GB the last time I built it

I would like to share a working alpine linux Dockerfile - it's lightweight 227MB.

I'm looking forward for feedback and am always open for comments, and if needed would like to improve my PR so hopefully it can get merged one day.

I would also like to discuss the possibility to switch from env.sh embedded in the image to something like an _env file that can be used with docker run --env-file ./_env ... for secret introduction and improved security - but that's probably a separate issue / PR.

ddworken commented 4 years ago

Superseded by #74

mmou commented 4 years ago

now equivalent to #74. merging to have proper contributor attribution.