compiling-containers
Lean and Mean Docker containers
compiling-containers | Lean and Mean Docker containers | |
---|---|---|
3 | 41 | |
14 | 19,320 | |
- | 0.9% | |
0.0 | 8.4 | |
over 3 years ago | 9 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.
Lean and Mean Docker containers
-
Vendoring, or go mod vendor: What Is It?
Slim (Previously DockerSlim): A handy tool for inspecting, slimming down, and debugging your containers.
- Golang REST API boilerplate
-
Optimize Your Containerized App with SlimToolkit
SlimToolkit empowers developers to create better, smaller, and more secure containers without sacrificing their existing workflows. Explore the project on GitHub or visit the official website to learn more.
-
Is updating software in Docker containers useful?
And if you want to make the container quickly secure without bloats, maybe give this a try https://github.com/slimtoolkit/slim
-
An Overview of Kubernetes Security Projects at KubeCon Europe 2023
Slim.ai presents the data in a more user friendly way than many of the other tools in this post. On top of its open source SlimToolkit for identifying the contents of an image, Slim.ai uses Trivy for vulnerability scanning.
-
Tips for reducing Docker image size
What about https://github.com/slimtoolkit/slim?
-
package a poetry project in a docker container for production
A last practice that I do not use at all and which may interest you is to use slim toolkit to keep only the useful elements in your final image.
-
Standard container sizes
Anyone tried using https://github.com/docker-slim/docker-slim To minify an image?..
- DockerSlim - Optimize Your Containerized App Dev Experience. Better, Smaller, Faster, and More Secure Containers Doing Less! Minify Docker Images by up to 30x.
- A practical approach to structuring Golang applications
What are some alternatives?
dumb-init - A minimal init system for Linux containers
minideb - A small image based on Debian designed for use in containers
ko - Build and deploy Go applications
Go random string generator - Flexible and customizable random string generator
Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
pipx - Install and Run Python Applications in Isolated Environments
dive - A tool for exploring each layer in a docker image
image-spec - OCI Image Format
gophish - Open-Source Phishing Toolkit
MeTube - Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
memguard - Secure software enclave for storage of sensitive information in memory.