@@ -12,24 +12,18 @@ RUN curl -sL https://deb.nodesource.com/setup | bash -
1212RUN apt-get install -y nodejs software-properties-common htop
1313
1414# Install c9launcher
15- RUN read -p "Install c9launcher? [y/N]" -n 1 -r
16- RUN echo # (optional) move to a new line
17- RUN if [[ $REPLY =~ ^[Yy]$ ]]; then
15+
1816RUN git clone https://github.com/sirhypernova/c9launcher.git
1917RUN cd c9launcher
2018RUN cp config-example.json config.json
21-
2219RUN read -p "c9launcher crypto phrase:"
2320RUN sed -i -e 's_"crypto": "a secret to encrypt workspace passwords"_"crypto": "$REPLY"_g' config.json
2421RUN npm install
2522RUN cd ..
2623 # Expose c9launcher
2724EXPOSE 8080
28- RUN fi
25+
2926# Install Java 8 & Maven
30- RUN read -p "Install Java JDK? [y/N]" -n 1 -r
31- RUN echo # (optional) move to a new line
32- RUN if [[ $REPLY =~ ^[Yy]$ ]]; then
3327# RUN add-apt-repository ppa:webupd8team/java
3428RUN apt-get -y -q update
3529# RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
@@ -40,7 +34,6 @@ RUN apt-get -y -q update
4034# apt-get -y upgrade && \
4135# apt-get install -y oracle-java8-installer maven
4236RUN apt-get install openjdk-11-jdk
43- RUN fi
4437
4538# Docker
4639ADD https://get.docker.io/builds/Linux/x86_64/docker-latest /usr/local/bin/docker
@@ -49,11 +42,7 @@ RUN chmod +x /usr/local/bin/docker /usr/local/bin/wrapdocker
4942VOLUME /var/lib/docker
5043
5144# Install Meteor
52- RUN read -p "Install Meteor? [y/N]" -n 1 -r
53- RUN echo # (optional) move to a new line
54- RUN if [[ $REPLY =~ ^[Yy]$ ]];then
5545RUN curl https://install.meteor.com/ | sh
56- RUN fi
5746
5847# Install Ruby and Rails
5948RUN apt-get install -y patch gawk gcc make libc6-dev patch libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
0 commit comments