Creates a linux development environment with docker that has most nice things installed. Source code located on github
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.
- Install Docker
- Clone the repo
- Switch your preferred terminal to use a nerdfont. I personally like Cascadia Code
Easy enough, run the following after cloning the source code:
docker build -t ajkayalan/docker-linux-dev-box:latest .
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
Simply open a shell in interactive mode:
docker exec -it docker-linux-dev-box zsh
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
The dockerfile is build and deployed using GitHub Actions, specifically using the docker build-push-action
- Don't pin a specific version of .NET Core, get latest LTS instead