-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (37 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM ubuntu:latest
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
thrift-compiler \
librocksdb-dev \
libsodium-dev \
libboost-all-dev \
automake \
libthrift-dev \
g++ \
git \
libevent-dev \
openjdk-11-jdk \
vim \
make \
curl \
python2 \
maven
# RUN sudo apt-get install ant
# RUN wget http://www.apache.org/dyn/closer.cgi?path=/thrift/0.15.0/thrift-0.15.0.tar.gz
# RUN tar -xvf thrift-0.15.0.tar.gz
# RUN cd thrift-0.15.0
# RUN ./bootstrap.sh \
# ./configure \
# sudo make \
# sudo make install
RUN ln -s /usr/bin/clang-9 /usr/bin/clang
RUN ln -s /usr/bin/clang++-9 /usr/bin/clang++
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-arm64
RUN git clone https://github.com/ySteinhart1/OpScure.git
# RUN curl -O --location https://github.com/brianfrankcooper/YCSB/releases/download/0.5.0/ycsb-0.5.0.tar.gz
# RUN tar xfvz ycsb-0.5.0.tar.gz
RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/share/boost-build/
RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/OpScure
WORKDIR "/OpScure"
RUN mkdir db
# RUN make