-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate fetching of MySQL server info
- Loading branch information
1 parent
7320fda
commit 739744a
Showing
14 changed files
with
216 additions
and
112 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ubuntu:bionic AS build | ||
|
||
RUN apt-get update && apt-get install -y gnupg2 wget curl lsb-release git pkg-config \ | ||
zip g++ zlib1g-dev unzip python libssl-dev default-jdk-headless libmariadbclient-dev | ||
|
||
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list | ||
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - | ||
RUN apt-get update && apt-get install -y bazel | ||
|
||
RUN git clone https://github.com/google/mysql-ripple.git && \ | ||
cd mysql-ripple && \ | ||
bazel build :all && \ | ||
bazel test :all | ||
|
||
FROM ubuntu:bionic | ||
|
||
RUN apt-get update && apt-get install -y libssl-dev | ||
|
||
COPY --from=build /mysql-ripple/bazel-bin/rippled /usr/local/bin/rippled | ||
|
||
ENTRYPOINT ["rippled"] |
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
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
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
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
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
Oops, something went wrong.