Last active
August 6, 2017 07:25
-
-
Save masoo/69a9ce8c0ed816084f7f to your computer and use it in GitHub Desktop.
Ubuntu 17.04 -> rbenv -> ruby 2.4.1 をインストールした Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM masoo/ubuntu-rbenv:3.0 | |
MAINTAINER FUNABARA Masao | |
RUN \ | |
cd ~/.rbenv && \ | |
git pull origin master && \ | |
cd ~/.rbenv/plugins/ruby-build && \ | |
git pull origin master && \ | |
cd ~/.rbenv/plugins/rbenv-gem-rehash && \ | |
git pull origin master | |
RUN \ | |
zsh -c "source ~/.zshrc && rbenv install 2.4.1 && rbenv global 2.4.1" | |
CMD ["/usr/bin/zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment