Created
June 3, 2019 08:36
-
-
Save yoku0825/4a32faada7cedfa914c85b277c3f6c2b to your computer and use it in GitHub Desktop.
[MySQL Ripple](https://github.com/google/mysql-ripple) のDockerfile
This file contains 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 ubuntu | |
WORKDIR /root | |
RUN apt update -y && apt clean | |
RUN apt install -y git curl sudo pkg-config zip g++ zlib1g-dev unzip python \ | |
libssl-dev default-jdk-headless libmariadbclient-dev && \ | |
apt clean -y | |
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list | |
RUN curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - | |
RUN apt update -y | |
RUN apt install -y bazel && apt clean -y | |
RUN git clone https://github.com/google/mysql-ripple.git | |
WORKDIR /root/mysql-ripple | |
RUN bazel build :all && bazel test :all && bazel shutdown | |
ENTRYPOINT ["/root/mysql-ripple/bazel-bin/rippled"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment