Skip to content

Commit 979119e

Browse files
committed
Ubuntu 18 image for s390x
1 parent cfdc9f9 commit 979119e

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,25 @@ $ cd centos7_arm64v8
5353
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_arm64v8-be .
5454
```
5555

56-
5756
## Requires s390x arch CPU
5857
```
5958
$ cd centos7_s390x
6059
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_s390x-be .
6160
```
6261

62+
# Ubuntu 18.04 Docker Images
63+
To build the Ubuntu 18.04 Docker images locally:
64+
```bash
65+
$ git clone https://github.com/evolvedbinary/docker-rocksjava
66+
$ cd docker-rocksjava
67+
```
68+
69+
## Requires s390x arch CPU
70+
```
71+
$ cd ubuntu18_s390x
72+
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu18_s390x-be .
73+
```
74+
6375
# Alpine 3.10 Docker Images
6476
**NOTE**: Alpine uses *muslc* instead of *glibc*, and so RocksDB builds on Alpine will only run on systems with muslc.
6577

ubuntu18_s390x/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM s390x/ubuntu:18.04
2+
3+
MAINTAINER Evolved Binary Ltd <tech@evolvedbinary.com>
4+
5+
LABEL name="Ubuntu 18.04 (s390x) RocksJava Build Environment" \
6+
vendor="Evolved Binary Ltd"
7+
8+
RUN apt-get -y update \
9+
&& apt-get -y dist-upgrade \
10+
&& apt-get -y install cmake \
11+
&& apt-get -y install g++ make perl \
12+
&& apt-get -y install libjemalloc-dev zlib1g-dev libbz2-dev liblz4-dev libsnappy-dev libzstd-dev libgflags-dev \
13+
&& apt-get -y install openssl openjdk-8-jdk-headless wget
14+
15+
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-s390x
16+
ENV PATH=$JAVA_HOME:$PATH
17+
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

0 commit comments

Comments
 (0)