Docker Buildx is a CLI plugin that extends the Docker command with the full support of the features provided by the Moby BuildKit builder toolkit. It provides the same user experience as docker build with many new features like creating scoped builder instances and building against multiple nodes concurrently. [^docker-buildx]



Set as default builder

… The majority of the code examples apply to a base image of Ubuntu & Debian.

Since this image has GCC prebaked in, it’s much easier to use with dotnet tools and other apps that require it.

Understand how ARG and FROM interact.

The manual triggering of build can be done via the command below, replacing codespace with whatever tagged image name is desired.

docker build --pull --rm -f ".devcontainer/Dockerfile" -t codespace:latest ".devcontainer"```

Clone the microsoft/vscode-dev-containers repo and then copy the script-library directory to ${ProjectDirectory}/.devcontainer/script-library.

Using dotfiles with Chezmoi, manually trigger using a command such as:

curl -sfL | sh
echo "Enter GitHub username for Chezmoi repo"
./bin/chezmoi init --apply --verbose$(read)/chezmoi.git

You can install Homebrew for Linux in two different ways, using a multi-stage build, or the vscode install script

A multistage would do this:

version: '3'
silent: true
output: prefixed

This is a general-purpose dev container for dev tooling such as Python3, Go, PowerShell, pre-commit, and other useful tools.

The end goal is to provide mounting of AWS local credentials into the container, use volumes for high IO package/artifact directories, and improve the drive performance by marking the container as the primary and the host directory as mounted. The version should be okay to lag a bit.

  "workspaceMount": "source=${localWorkspaceFolder},target=/home/codespace/workspace,type=bind,consistency=delegated",
  "mounts": [
  "postCreateCommand": [
    "uname -a",
    "pre-commit install"
// Set *default* container specific settings.json values on container create.
  "settings": {


(No webmentions yet.)