X Tutup
The Wayback Machine - https://web.archive.org/web/20201018081210/https://github.com/rinx/dotfiles
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dotfiles

release DockerHub ghcr.io

Pull the latest stable image ghcr.io/rinx/devenv:stable, that is built from the latest release. (or ghcr.io/rinx/devenv:nightly = the image built from the latest master branch is also available. please see here)

$ docker pull ghcr.io/rinx/devenv:stable

Add aliases to your shell (they're already described in zshrc in this repository).

# docker
alias devstart='docker run \
    --network host \
    --cap-add=ALL \
    --privileged=false \
    --name rinx-devenv \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v $HOME/.ssh:/root/.ssh \
    -v $HOME/.gitconfig.local:/root/.gitconfig.local \
    -v $HOME/local:/root/local \
    -v $HOME/works:/root/works \
    -v $HOME/Downloads:/root/Downloads \
    -dit ghcr.io/rinx/devenv:stable'
alias devattach='docker exec -it rinx-devenv /bin/zsh'
alias devstop='docker stop rinx-devenv && docker rm rinx-devenv'

Start your devenv.

$ devstart

And attach to it.

$ devattach

After finished your work, stop the environment.

$ devstop
You can’t perform that action at this time.
X Tutup