Last active
July 1, 2019 09:54
-
-
Save joshuarobinson/6b5c314da776df762f308ee064558124 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-slim | |
RUN apt-get update && apt-get install -y curl python --no-install-recommends \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Download and extract the Presto package. | |
ARG PRESTO_VER=0.221 | |
RUN curl https://repo1.maven.org/maven2/com/facebook/presto/presto-server/$PRESTO_VER/presto-server-$PRESTO_VER.tar.gz \ | |
| tar xvz -C /opt/ \ | |
&& ln -s /opt/presto-server-$PRESTO_VER /opt/presto-server \ | |
&& mkdir -p /opt/presto-server/etc \ | |
&& mkdir -p /opt/presto-server/etc/catalog | |
COPY jvm.config /opt/presto-server/etc/jvm.config | |
COPY hive.properties /opt/presto-server/etc/catalog/hive.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment