File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,21 @@ 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+ if [[ $REPLY =~ ^[Yy]$ ]]
18+ then
1519RUN git clone https://github.com/sirhypernova/c9launcher.git
1620RUN cd c9launcher
1721RUN cp config-example.json config.json
1822
1923RUN read -p "c9launcher crypto phrase:"
2024RUN sed -i -e 's_"crypto": "a secret to encrypt workspace passwords"_"crypto": "$REPLY"_g' config.json
2125RUN npm install
22-
26+ RUN cd ..
27+ # Expose c9launcher
28+ EXPOSE 8080
29+ fi
2330# Install Java 8 & Maven
2431RUN read -p "Install Java JDK? [y/N]" -n 1 -r
2532RUN echo # (optional) move to a new line
You can’t perform that action at this time.
0 commit comments