Skip to content

yoohahn/work-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

work-container

Just so I don't have to install nodejs and java on my machine.

Build

$ docker rmi -f yoohahn/work-container:latest && docker build --rm -f "Dockerfile" -t yoohahn/work-container:latest .

Run

Simple

$ docker run --rm -it yoohahn/work-container:latest

With volumes

$ USR=$(whoami) && docker run --rm \
    -v /Users/$USR/git:/root/git \
    -v /Users/$USR/.gradle:/root/.gradle \
    -v /Users/$USR/.npmrc:/root/.npmrc \
    -v /Users/$USR/.gitconfig:/root/.gitconfig \
    -v /Users/$USR/.gitignore:/root/.gitignore \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -it yoohahn/work-container:latest

Publish

$ docker push yoohahn/work-container:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published