mirror of
https://github.com/rssnyder/docker-linux-dev-box
synced 2026-06-30 16:30:29 -05:00
No description
- Shell 86.9%
- Dockerfile 13.1%
| .github/workflows | ||
| scripts | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
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
- Install Docker
- Clone the repo
- Switch your preferred terminal to use a nerdfont. I personally like Cascadia Code
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, run:
docker pull 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