Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 538 Bytes
FROM mustafaakin/java
# Set versions
ARG DRILL_LINK=http://ftp.itu.edu.tr/Mirror/Apache/drill/drill-1.8.0/apache-drill-1.8.0.tar.gz
ENV DRILL_HOME /opt/drill/
# Download and extract, set home folder and permissions
RUN useradd -ms /bin/bash drill --home $DRILL_HOME && wget -qO- $DRILL_LINK | tar xvz --strip 1 -C $DRILL_HOME && chown drill -R $DRILL_HOME
ADD drill-override.conf $DRILL_HOME/conf/
ADD entrypoint.sh $DRILL_HOME/
ENV DRILL_LOG_DIR $DRILL_HOME/logs
USER drill
WORKDIR $DRILL_HOME
ENTRYPOINT ["bash", "entrypoint.sh"]