Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
FROM dockerfile/java:oracle-java7
#FROM dockerfile/java:oracle-java7
FROM java:7
MAINTAINER SequenceIQ

# install dev tools
RUN apt-get install -y wget tar sudo
RUN apt-get update && apt-get install -y wget tar sudo

# get drill
RUN wget http://getdrill.org/drill/download/apache-drill-0.6.0-incubating.tar.gz
RUN wget http://www-us.apache.org/dist/drill/drill-1.8.0/apache-drill-1.8.0.tar.gz
# create Drill folder
RUN sudo mkdir -p /opt/drill

# extract Drill
RUN sudo tar -xvzf apache-drill-0.6.0-incubating.tar.gz -C /opt/drill
RUN sudo tar -xvzf apache-drill-1.8.0.tar.gz -C /opt/drill

# rename apache drill folder
RUN sudo mv /opt/drill/apache-drill-1.8.0 /opt/drill/apache-drill

# add boostrap.sh
ADD bootstrap.sh /etc/bootstrap.sh
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
: ${DRILL_HOME:=/opt/drill/apache-drill-0.6.0-incubating}


cd /opt/drill/apache-drill-0.6.0-incubating;
cd /opt/drill/apache-drill;
sudo bin/sqlline -u jdbc:drill:zk=local