Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 821 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 821 Bytes

Dotfiles

About

Dockerised dotfiles.

How to install them?

Develop locally

Run container

docker pull janne/dotfiles
docker run -it -h dev -v $HOME/src:/home/user/src janne/dotfiles

Run on Amazon EC2

Setup ~/.aws/credentials

[default]
aws_access_key_id = AKID1234567890
aws_secret_access_key = MY-SECRET-KEY

Setup EC2 instance

docker-machine create --driver amazonec2 --amazonec2-region eu-central-1 --amazonec2-instance-type t2.nano sandbox
eval $(docker-machine env sandbox)

Run container

docker pull janne/dotfiles
docker run -it -h dev -v $HOME/src:/home/user/src janne/dotfiles

Tear down EC2 instance

docker-machine rm sandbox