News for hackers. Stuff that matters.
Re:Containerize Go and SQLite with Docker by dewey on Tuesday January 18, 2022 @04:17AM (#29976874)
> 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.

Re:Containerize Go and SQLite with Docker by chriswarbo on Tuesday January 18, 2022 @09:46AM (#29979884)
> 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`.

Re:Containerize Go and SQLite with Docker by ramoz on Tuesday January 18, 2022 @04:48AM (#29977048)
Agree, 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.