Last active
August 29, 2015 14:03
-
-
Save jamescarr/54161a741a01948dae62 to your computer and use it in GitHub Desktop.
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
| ENV PLAYVERSION 2.2.2 | |
| RUN wget http://downloads.typesafe.com/play/$PLAYVERSION/play-$PLAYVERSION.zip && \ | |
| unzip play-$PLAYVERSION.zip && \ | |
| rm play-$PLAYVERSION.zip && \ | |
| chmod a+x play-$PLAYVERSION/play && \ | |
| ln -s /play-$PLAYVERSION/play /usr/bin/play | |
| RUN chmod +x /graylog2-server-master/build_script/build_server_release.sh | |
| RUN cd /graylog2-server-master/build_script && \ | |
| ./build_server_release.sh 0.21.0-SNAPSHOT && \ | |
| tar zxvf builds/graylog2-server-0.21.0-SNAPSHOT.tgz && \ | |
| mv graylog2-server-0.21.0-SNAPSHOT /opt/graylog2-server && \ | |
| rm -rf /graylog2-server-master && \ | |
| mkdir -p /opt/graylog2-server/plugins | |
| # Graylog2 web interface | |
| RUN git clone https://github.com/jamescarr/graylog2-web-interface.git && \ | |
| cd graylog2-web-interface && \ | |
| git submodule init && git submodule update | |
| RUN cd /graylog2-web-interface && \ | |
| yes | /bin/bash ./build_release.sh && \ | |
| mv target/universal/* / && \ | |
| rm -rf /graylog2-web-interface && \ | |
| tar zxvf /graylog2-web-interface*gz && \ | |
| rm /graylog2-web-interface*gz && \ | |
| mv graylog2-web-interface* /opt/graylog2-web-interface && \ | |
| cat /opt/graylog2-web-interface/conf/graylog2-web-interface.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment