summaryrefslogtreecommitdiffstats
path: root/src/s3select/Dockerfile
blob: 45103520784f8732b8b391bed9ee206ace2e4507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Each instruction in this file generates a new layer that gets pushed to your local image cache
# Lines preceeded by # are regarded as comments and ignored
#
#
FROM ubuntu:latest
#
LABEL maintainer="gal.salomon@gmail.com"
#
# Update the image to the latest packages, the image will contain arrow-parquet,boost,and s3select(source).
# this version enables to run s3select queries on parquet-file located on local file-system/

RUN apt-get update
RUN apt-get install -y -V ca-certificates lsb-release wget
RUN wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
RUN apt-get install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
RUN apt-get update
RUN apt-get install -y -V libarrow-dev
RUN apt-get install -y -V libparquet-dev
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libboost-all-dev  libgtest-dev
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git cmake g++ make
RUN git clone -b parquet_local_fs_first_phase https://github.com/ceph/s3select
RUN cd /s3select/ && cmake . && make -j4