summaryrefslogtreecommitdiffstats
path: root/src/s3select/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/s3select/Dockerfile')
-rw-r--r--src/s3select/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/s3select/Dockerfile b/src/s3select/Dockerfile
new file mode 100644
index 000000000..451035207
--- /dev/null
+++ b/src/s3select/Dockerfile
@@ -0,0 +1,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
+