1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/presto-server/Dockerfile
2019-02-25 14:26:30 +08:00

25 lines
514 B
Docker

#
# Dockerfile for presto-server
#
FROM java:8-jre-alpine
MAINTAINER kev <noreply@easypi.pro>
ENV PRESTO_VERSION 0.217
ENV PRESTO_URL https://repo1.maven.org/maven2/com/facebook/presto/presto-server/$PRESTO_VERSION/presto-server-$PRESTO_VERSION.tar.gz
ENV PRESTO_HOME /opt/presto-server
WORKDIR $PRESTO_HOME
RUN set -xe \
&& apk add --no-cache curl python tar \
&& curl -sSL $PRESTO_URL | tar xz --strip 1 \
&& apk del curl tar
VOLUME /data
EXPOSE 8080
ENTRYPOINT ["./bin/launcher"]
CMD ["run"]