Dockerfile with a multi-stage build
Docker image layers themselves do not have “tags” in the same way that a final Docker image has a tag. Tags are applied to the entire image, which is composed…
Docker image layers themselves do not have “tags” in the same way that a final Docker image has a tag. Tags are applied to the entire image, which is composed…
The Symptom When executing a PHP script from the command line interface (CLI) within a specific directory (e.g., a Git repository directory), the getcwd() function reports a different, unexpected directory…
The Developer’s Portable docker-compose.yml (Recommended) This simple file is committed to your repository so every developer gets the exact same setup: The Unraid Production/Staging Setup This setup is entirely separate…
The Development Flow for a php-local.ini Change Here is the step-by-step process for a developer: 1. The Developer Edits the Config (Locally) The developer needs to modify the php-local.ini file.…
We need an image that stops relying on the /config bind mount for the site content (/config/www) and instead has that content baked inside the image. 1. Identify Key Information…
How to share data between jobs To pass data, such as your BUILD_STAGE value, from one job to a subsequent job, you have two primary methods in Gitea/GitHub Actions: 1.…
Feature Ghost Blog (CMS) Hugo (Static Site Generator) Obsidian (Knowledge Base) Content Format Markdown (stored in a database) Markdown (stored as flat files) Markdown (stored as flat files in a…
To list the files in a Git branch, you can use the git ls-tree or git ls-files commands. 1. Using git ls-tree: This command allows you to list the contents…
Tool Purpose Interaction Scope kubeadm Cluster setup and administration. Used for bootstrapping a minimum viable Kubernetes cluster and managing its lifecycle, such as upgrades and joining nodes. Communicates with the…
Other popular Kubernetes tools The Kubernetes ecosystem offers a broad range of other tools to simplify, manage, and extend a cluster’s functionality. Management and development Continuous delivery and GitOps Monitoring…