Skip to content

Commit 033ad16

Browse files
authored
Update Dockerfile
1 parent 1b3ae68 commit 033ad16

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,18 @@ RUN curl -sL https://deb.nodesource.com/setup | bash -
1212
RUN 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+
1816
RUN git clone https://github.com/sirhypernova/c9launcher.git
1917
RUN cd c9launcher
2018
RUN cp config-example.json config.json
21-
2219
RUN read -p "c9launcher crypto phrase:"
2320
RUN sed -i -e 's_"crypto": "a secret to encrypt workspace passwords"_"crypto": "$REPLY"_g' config.json
2421
RUN npm install
2522
RUN cd ..
2623
# Expose c9launcher
2724
EXPOSE 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
3428
RUN 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
4236
RUN apt-get install openjdk-11-jdk
43-
RUN fi
4437

4538
# Docker
4639
ADD 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
4942
VOLUME /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
5545
RUN curl https://install.meteor.com/ | sh
56-
RUN fi
5746

5847
# Install Ruby and Rails
5948
RUN 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

Comments
 (0)