rootcerts
examples
rootcerts | examples | |
---|---|---|
2 | 2 | |
99 | 157 | |
- | 0.0% | |
5.0 | 6.5 | |
3 months ago | 3 months ago | |
Go | Shell | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rootcerts
-
Right way to deploy Go API in a Docker?
You can also use https://github.com/breml/rootcerts so you don't even need to copy the files.
- Embed CA root certificates in your Go program. What time/tzdata is for the time zone database is this package for the CA root certificates.
examples
-
DockerSlim – Optimize Your Containerized App Dev Experience
What kind of images do you have? App images or base images? What's the stack for your image if it's an app image? Is it a server app or a cli app? Do you mind sharing your failures?
By the way, have you looked at the examples? https://github.com/docker-slim/examples Wonder which example is close enough to what you have.
Depending on the command you choose (e.g., "build" or "xray") it's doing different things. With "xray" it's all static analysis where it saves the images and then it analyses it internals. With "build" it performs static and dynamic analysis where it creates a temporary instance of your container. By default, it assumes it's a server app and it'll try to probe your server app when it's running.
-
Right way to deploy Go API in a Docker?
You see this a lot because it's easy and convenient. It's not because it's the best/recommended thing to do. You can use multi-stage builds where you copy everything you need from the build stage to the release stage. It works fine as long as you have a simple application and you know exactly what you need from the build stage. It gets tricky with more complex applications. Another option to try is DockerSlim. It allows you to take those less than ideal container images you see a lot and make them as small as possible. Take a look at this Go application example: https://github.com/docker-slim/examples/blob/master/3rdparty/mux-go-api/Dockerfile
What are some alternatives?
distroless - 🥑 Language focused docker images, minus the operating system.
certin - Go lib (and CLI) for quick creation of TLS keys and certificates for use in tests
golang-sample-app - Example application with Golang and Docker
traefik-certs-dumper - Dump ACME data from Traefik to certificates
ko - Build and deploy Go applications
ssl-proxy - :lock: Simple zero-config SSL reverse proxy with real autogenerated certificates (LetsEncrypt, self-signed, provided)