change google to debian, add docker-compose file - #6
Conversation
|
Hey there, thanks for the PR. What's the advantage of using the debian image instead of the distroless one? |
|
Well is just that I don't trust google at all to control any of the circuits i am. The only advantage is that for now. anywayz.. my fight against google is political also.. check out: https://wiki.fuckoffgoogle.de |
|
If you want to swap the image for something non-google I'd go with either redhat ubi or just |
|
why no golang? its probably the leightest... even though i dont have big concerns with any of those. but just to keep it simple. |
|
The golang image contains the entire go toolchain. We do not have any runtime dependencies, so we can just skip this |
|
|
||
| Up and running: `docker-compose up` | ||
|
|
||
| Generate a new key: `docker-compose exec distrust ./distrust genkey` |
There was a problem hiding this comment.
| Generate a new key: `docker-compose exec distrust ./distrust genkey` | |
| Generate a new key: `docker-compose exec distrust genkey` |
We already have ENTRYPOINT ["/distrust"] in Dockerfile, so the container itself is a "distrust" and we should call it directly, like this:
# docker run -it --rm ghcr.io/parkour-vienna/distrust:master genkey
-----BEGIN RSA PRIVATE KEY-----
...
Ref: https://docs.docker.com/reference/dockerfile/#entrypoint
yellow! :)