Containerized .NET build cache optimizations

Docker Build Cache Reuse Docker utilizes a layering system for its images. Each command in a Dockerfile creates a new layer that is built upon the previous one. This layering system is leveraged by Docker’s build cache. If Docker recognizes that a layer hasn’t changed (i.e., the command is the same and the context hasn’t changed), it reuses the existing layer instead of rebuilding it. When building .NET applications in Docker, one common practice is to restore dependencies as a separate step before the application is built....

<span title='2023-06-11 22:27:28 +0100 +0100'>June 11, 2023</span>

No curl, No wget, No Problem - A Bash Script for Container Healthchecks

Alright, let’s get straight to the point: building reliable software is critical. It’s not just a matter of nice-to-haves; it’s about building something that stands the test of time and isn’t prone to constant crashes. Now, this requires us to keep a diligent watch on the software’s health. And when it comes to systems based on microservices, where there are numerous components working in tandem, this becomes even more important. Enter health checks....

<span title='2023-05-19 19:09:58 +0100 +0100'>May 19, 2023</span>

No installs - just containers

It can be annoying to install a tool that is only needed a few times, and it would be preferable to avoid the installation process. However, sometimes it is necessary to use a tool to accomplish a specific task Solution To avoid the inconvenience of installing tools that are only needed occasionally, I have started using containerized tools instead. To make it easier to use these containerized tools, I have created a number of ....

<span title='2022-11-30 22:17:58 +0100 +0100'>November 30, 2022</span>

Containerized Home Assistant setup

I recently migrated my Home Assistant setup from running Home Assistant Operating System on a Hardkernel C2 , to running in containers on my NAS The process was reasonably straight-forward, but finding up-to-date documentation and examples online are always a challenge when the platform moves fast My Home Assistant needs are covered by just three services; home-assistant , deconz and node-red . I use deconz because I have a ConBee II as my ZigBee gateway...

<span title='2022-01-30 15:31:05 +0100 +0100'>January 30, 2022</span>

WSL2 + podman

UPDATE: podman desktop is now a thing! I had been having some issues with the docker-desktop service on Windows, where it wouldn’t autostart properly and would start into a broken state where nothing worked. These problems, together with the license change of the docker-desktop product and recommendations to give podman a try, led me to try podman instead. About podman podman is a container runtime like docker but designed with a different philosophy....

<span title='2022-01-24 08:34:05 +0100 +0100'>January 24, 2022</span>