This file contains hidden or 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 ubuntu | |
| MAINTAINER dahernan "dahernan@gmail.com" | |
| # Java 7 | |
| RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list | |
| RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 | |
| RUN apt-get update | |
| RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
| RUN apt-get install oracle-java7-installer -y |
This file contains hidden or 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
| # Install Ruby | |
| wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz | |
| tar xvzf ruby-2.1.1.tar.gz | |
| cd ruby-2.1.1 | |
| ./configure --prefix=/usr | |
| make | |
| make install | |
| # remove "ruby-2.1.1" folder in /root |
This file contains hidden or 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
| #!/bin/bash | |
| # This script is edited by Brice Dutheil | |
| # See there in french http://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/ | |
| # Translate button is broken for now, please use Google to translate this website. | |
| # | |
| # 2013/05/11 Added a few more guidance when Java Preferences is not available anymore | |
| # Added a simple example of a JDK switch function. | |
| # | |
| # 2012/08/25 This script didn't behave correctly when ran on 10.8.1 |
This file contains hidden or 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
| #!/bin/bash | |
| # This script is edited by Brice Dutheil | |
| # See there in french http://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/ | |
| # Translate button is broken for now, please use Google to translate this website. | |
| # | |
| # 2013/05/11 Added a few more guidance when Java Preferences is not available anymore | |
| # Added a simple example of a JDK switch function. | |
| # | |
| # 2012/08/25 This script didn't behave correctly when ran on 10.8.1 |