Created
April 8, 2019 15:25
-
-
Save miton18/8404a59e81d51981143cfd28aabe582c 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
FROM openjdk:8-jdk | |
MAINTAINER Rémi C. <[email protected]> | |
USER root | |
# DEPS | |
RUN apt update | |
RUN apt install -y \ | |
git \ | |
libboost-all-dev \ | |
bison \ | |
build-essential \ | |
clang \ | |
cmake \ | |
debhelper \ | |
flex \ | |
gdb \ | |
libasound2 \ | |
libatk-bridge2.0-0 \ | |
libgtk-3-0 \ | |
llvm \ | |
ninja-build \ | |
pkg-config \ | |
unzip \ | |
valgrind \ | |
ant \ | |
ant-optional \ | |
maven \ | |
libssl-dev | |
RUN apt clean | |
RUN rm -rf /var/lib/apt/lists/* | |
ENV PATH /usr/lib/llvm-6.0/bin:$PATH | |
# THRIFT | |
RUN git clone --depth 1 --branch 0.11.0 https://github.com/apache/thrift.git /thrift | |
WORKDIR /thrift | |
RUN ./bootstrap.sh | |
RUN ./configure \ | |
--without-python \ | |
--without-ruby \ | |
--without-php \ | |
-without-nodejs \ | |
--without-perl \ | |
--without-tests | |
RUN make | |
RUN make install | |
# WARP10 | |
RUN git clone --depth 1 https://github.com/senx/warp10-platform.git /warp10-platform | |
# BUILD | |
WORKDIR /warp10-platform | |
RUN ./gradlew | |
RUN ./gradlew warp10:generateThrift | |
RUN ./gradlew token:generateThrift | |
RUN ./gradlew crypto:install | |
RUN ./gradlew token:install | |
RUN ./gradlew warp10:pack | |
RUN ./gradlew createTarArchive | |
# SETUP | |
ENTRYPOINT /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment