compiling-containers
ko
compiling-containers | ko | |
---|---|---|
3 | 29 | |
14 | 7,579 | |
- | 0.8% | |
0.0 | 9.1 | |
over 3 years ago | 8 days ago | |
Go | Go | |
- | 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.
compiling-containers
-
BuildKit in depth: Docker's build engine explained
A cool thing about Buildkits LLB is that you can write your own front end to BuildKit. At Earthly, this is sort of a starter task for everyone who joins the team.
My frontend was based on intercal and I don't recommend anyone use it[1].
Buildkit functions a bit like a compiler. I wrote an article once about how it all works. [2]
[1]: https://github.com/adamgordonbell/compiling-containers/tree/...
[2]: https://www.docker.com/blog/compiling-containers-dockerfiles...
-
`COPY –chmod` reduced the size of my container image by 35%
Earthly is great (disclosure: work on it)
But also checkout out IckFiles, an Intercal frontend for moby buildkit:
https://github.com/adamgordonbell/compiling-containers/tree/...
-
Compiling Containers - Dockerfiles, LLVM and BuildKit
Hi, I wrote this, thank you for submitting it. I was trying to teach a bit about compilers and container images at the same time and share some working code examples. The code samples are here and here.
ko
-
Fixing ko local image publishing on MacOs
I still use Docker desktop to run containers on my MacBook Air. I know there's Colima but have no time to switch and deal with the consequences. I also recently started using ko for containerizing my Go apps.
-
Distroless container images with Apko from Chainguard
Apko leverages the APK package format from Alpine and draws inspiration from ko, a fast container image builder for Go applications.
-
What is the most common approach to configure a backend app?
- There're many resources available about containerizing an application, but I suggest you buildpacks or ko, which doesn't require writing a Dockerfile
-
Tool to build Docker images
ko
- how to create container for Kubernetes?
-
Golang Backend in Production
You don't need to write and manage Dockerfiles. Simply just use ko: https://github.com/google/ko (You also don't need Docker Engine)
-
How to containerize your Go app in 10 minutes!
Or don't write a Dockerfile at all, and use ko: https://github.com/google/ko
-
Containerd... Do I use Docker to build the container image? I miss the Docker Shim
Here is link number 1 - Previous text "ko"
-
HOWTO: Generate Go based multiarch images the easy way
It depends on your use case, but have you ever tried google/ko?
-
`COPY --chmod` reduced the size of my container image by 35%
If you're using Go, I recommend https://github.com/google/ko (shameless plug), or for Java, use Jib.
What are some alternatives?
dumb-init - A minimal init system for Linux containers
kaniko - Build Container Images In Kubernetes
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
golang-sample-app - Example application with Golang and Docker
Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
Pomerium - Pomerium is an identity and context-aware reverse proxy for zero-trust access to web applications and services.
dive - A tool for exploring each layer in a docker image
Dockerfile-Generator - dfg - Generates dockerfiles based on various input channels.
image-spec - OCI Image Format
distroless - 🥑 Language focused docker images, minus the operating system.
bombardier - Fast cross-platform HTTP benchmarking tool written in Go