2 ms·
> you first need to handle the complexities of Docker The complexity of Docker is not that big for a Go deployment though, especially if you have all the other
by dewey 5y ago
> you first need to handle the complexities of Docker
The complexity of Docker is not that big for a Go deployment though, especially if you have all the other bits for orchestrating your Docker containers (for the rest of your stack) already in place. You mostly just copy the binary into a slim image and you are done.
- ramoz 5y agoAgree, and most complexities will occur in enterprise environments when the os/hardware is locked down — which can make something like SQLite “hard” as would any cpu/disk-bound container. However that should be a platform teams job to resolve, not a backend dev.
- chriswarbo 5y ago> You mostly just copy the binary into a slim image and you are done. You don't need docker for that, just 'tar czf my-layer.tar.gz my-dir'. If you want a manifest file, you can get the digest using `sha256sum my-layer.tar.gz`.