Skip to content

Creates a linux development environment with docker that has most nice things installed

License

Notifications You must be signed in to change notification settings

AjkayAlan/docker-linux-dev-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-linux-dev-box

Creates a linux development environment with docker that has most nice things installed. Source code located on github

Purpose

I wanted to create a docker container I can use to do most software development in. I use VSCode's remote container feature to easily interact with it.

Prerequisites

Building

Easy enough, run the following after cloning the source code:

docker build -t ajkayalan/docker-linux-dev-box:latest .

Running

If you haven't built locally but want to use the image, pull it from Docker Hub:

docker pull ajkayalan/docker-linux-dev-box

Alternatively, you can pull it from my GitHub Container Registry:

docker pull ghcr.io/ajkayalan/docker-linux-dev-box

After pulling or building, you need to run the container in detached mode:

docker run --name docker-linux-dev-box -t -d ajkayalan/docker-linux-dev-box:latest

Getting Terminal Access

Simply open a shell in interactive mode:

docker exec -it docker-linux-dev-box zsh

Destroying

If you do something bad and need to start from scratch, just destroy the container:

docker container stop docker-linux-dev-box
docker container rm docker-linux-dev-box

Pipeline & Docker Hub

The dockerfile is build and deployed using GitHub Actions, specifically using the docker build-push-action

TODO's

  • Don't pin a specific version of .NET Core, get latest LTS instead

About

Creates a linux development environment with docker that has most nice things installed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages