Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devcontainer

Container image for development environments with Nix and Docker CLI.

  • Image: ghcr.io/agynio/devcontainer
  • Architectures: linux/amd64, linux/arm64

Included:

  • Ubuntu 24.04 base (pinned)
  • Nix via Determinate Systems installer (no init/systemd; sandbox disabled)
  • Docker CLI from Docker’s apt repository
  • zsh as the default shell

Usage:

  • Pull: docker pull ghcr.io/agynio/devcontainer:latest
  • Run: docker run --rm -it ghcr.io/agynio/devcontainer:latest zsh

Notes:

  • zsh is root's login shell and is published as SHELL=/usr/bin/zsh, which is what a terminal session execs. /root/.zshrc carries history and prompt defaults.
  • Nix is initialized via /etc/profile.d/nix.sh which sources the Nix environment; PATH includes Nix bins. zsh reaches it through /etc/zsh/zprofile, which does not source /etc/profile on Ubuntu by default.
  • Docker CLI requires access to a running Docker daemon. For local usage, you may mount the host socket: -v /var/run/docker.sock:/var/run/docker.sock.
  • Verify tools: nix --version and docker --version.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages