Skip to content

A development container running the latest rolling release of Ubuntu.

Notifications You must be signed in to change notification settings

thaddeuskkr/dev-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Container

Workflow Status

An Ubuntu container running an SSH server, along with a Visual Studio Code Tunnel for all your remote development needs. Comes with multiple preinstalled tools to make your life easier.

Features

  • Passthrough of SSH and GPG keys, along with Git configurations
  • Latest Ubuntu rolling release (unminimized)
  • Built for multiple architectures
  • Daily scheduled builds
  • Slightly configurable

Preinstalled Tools

Setup

Prerequisites

  • Docker
  • Docker Compose (optional, but recommended)

Docker Compose - recommended

  1. Clone this repository and enter its directory
git clone https://github.com/thaddeuskkr/dev-container.git && cd dev-container
  1. Start a container using the included compose.yml file
docker compose up -d

Docker - not recommended

docker run -d \
--name dev-container \
--hostname dev \
--restart unless-stopped \
-e PASSWORD="YOUR_PASSWORD" \
-e DOCKER_GROUP="$(getent group docker | cut -d: -f3)" \
-e KEYS="$(cat ~/.ssh/authorized_keys)" \
-e SSH_PASSWORD_AUTH="false" \
-e SSH_ROOT_LOGIN="false" \
-p 2222:22 \
-v ~/.gnupg:/volumes/.gnupg:ro \
-v ~/.gitconfig:/volumes/.gitconfig:ro \
-v ./workspaces:/workspaces \
-v ./data/:/data \
-v home:/home/ubuntu \
-v /var/run/docker.sock:/var/run/docker.sock \
ghcr.io/thaddeuskkr/devc

The Docker run command above tries to replicate the behaviour from the Docker Compose file - there might be some discrepancies.

About

A development container running the latest rolling release of Ubuntu.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published