-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ubuntu 20.04 image for linux-riscv64
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 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
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,17 @@ | ||
FROM riscv64/ubuntu:20.04 | ||
|
||
MAINTAINER Evolved Binary Ltd <[email protected]> | ||
|
||
LABEL name="Ubuntu 20.04 (riscv64) RocksJava Build Environment" \ | ||
vendor="Evolved Binary Ltd" | ||
|
||
RUN apt-get -y update \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get -y install cmake \ | ||
&& apt-get -y install g++ make perl \ | ||
&& apt-get -y install libjemalloc-dev zlib1g-dev libbz2-dev liblz4-dev libsnappy-dev libzstd-dev libgflags-dev \ | ||
&& apt-get -y install openssl openjdk-11-jdk-headless wget curl | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-riscv64 | ||
ENV PATH=$JAVA_HOME:$PATH | ||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib |