Skip to content

docker based development environment

Notifications You must be signed in to change notification settings

ecshreve/dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-env

dockerhub

the image resulting from the build:packer:all task is manually uploaded to dockerhub via the push:hub task

https://hub.docker.com/r/ecshreve/devbox

images

base

ubuntu 22.04 with dev environment

docker

base + docker installed

hashi

base + docker + hashicorp tools installed

tools

base + docker + hashicorp tools + other dev tools installed

personal

base + docker + hashicorp tools + other dev tools + dotfiles installed

devcontainer usage

example .devcontainer.json:

{
	"name": "toolbox",
	"image": "ecshreve/devbox:tools",
	"features": {
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	},
	"customizations": {
		"vscode": {
			"extensions": [
				"golang.Go",
			]
		}
	},
	"runArgs": ["--hostname", "toolbox"],
}

or use the image with my dotfile configs already baked in:

{
	"name": "toolbox",
	"image": "ecshreve/devbox",
	"features": {
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	},
	"runArgs": ["--hostname", "toolbox"],
	"remoteUser": "eric",
}