2020-04-29 11:07:16 +02:00
|
|
|
FROM ubuntu:20.04
|
2020-03-09 17:11:14 +01:00
|
|
|
|
2020-04-08 03:58:55 +02:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2020-03-09 17:11:14 +01:00
|
|
|
RUN \
|
|
|
|
apt-get update && \
|
2020-04-08 03:13:55 +02:00
|
|
|
apt-get install --no-install-recommends -y software-properties-common && \
|
2020-03-09 17:11:14 +01:00
|
|
|
apt-get update && \
|
|
|
|
apt-get install --no-install-recommends -y \
|
|
|
|
autoconf \
|
|
|
|
autoconf-archive \
|
|
|
|
autoconf2.13 \
|
|
|
|
automake \
|
|
|
|
autotools-dev \
|
2020-04-29 11:07:16 +02:00
|
|
|
boost1.71 \
|
2020-03-09 17:11:14 +01:00
|
|
|
build-essential \
|
|
|
|
cmake \
|
|
|
|
curl \
|
2020-03-10 03:16:30 +01:00
|
|
|
git \
|
2020-03-09 17:11:14 +01:00
|
|
|
libbz2-dev \
|
|
|
|
libgflags-dev \
|
2020-03-26 00:23:11 +01:00
|
|
|
libgraphicsmagick1-dev \
|
2020-04-05 22:13:17 +02:00
|
|
|
libjemalloc-dev \
|
2020-03-26 00:17:58 +01:00
|
|
|
liblz4-dev \
|
2020-03-09 17:11:14 +01:00
|
|
|
libmagic-dev \
|
|
|
|
libnss-db \
|
2020-04-29 11:07:16 +02:00
|
|
|
librocksdb-dev \
|
2020-03-09 17:11:14 +01:00
|
|
|
libsodium-dev \
|
2020-03-26 00:18:38 +01:00
|
|
|
libssl-dev \
|
2020-03-09 17:11:14 +01:00
|
|
|
libtool \
|
|
|
|
shtool \
|
2020-03-26 00:31:46 +01:00
|
|
|
xz-utils && \
|
2020-04-08 03:13:55 +02:00
|
|
|
apt-get purge -y software-properties-common && \
|
2020-03-09 17:11:14 +01:00
|
|
|
apt-get clean && \
|
2020-04-08 03:13:55 +02:00
|
|
|
apt-get autoremove --purge -y && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2020-03-09 17:11:14 +01:00
|
|
|
|
2020-04-29 11:07:16 +02:00
|
|
|
ENV ROCKSDB_VERSION=5.17.2
|
2020-03-09 17:11:14 +01:00
|
|
|
|
|
|
|
RUN \
|
2020-04-29 11:07:16 +02:00
|
|
|
cd /usr/src && \
|
2020-03-09 17:11:14 +01:00
|
|
|
curl -sL https://github.com/facebook/rocksdb/archive/v${ROCKSDB_VERSION}.tar.gz -o rocksdb-${ROCKSDB_VERSION}.tar.gz && \
|
|
|
|
tar xfvz rocksdb-${ROCKSDB_VERSION}.tar.gz && \
|
2020-04-29 11:07:16 +02:00
|
|
|
ln -s rocksdb-${ROCKSDB_VERSION} rocksdb && \
|
|
|
|
rm rocksdb-${ROCKSDB_VERSION}.tar.gz
|
2020-03-09 17:11:14 +01:00
|
|
|
|
|
|
|
RUN mkdir /build
|
|
|
|
WORKDIR /build
|
|
|
|
|