Skip to content

Commit

Permalink
Switch from CMD to ENTRYPOINT to support passing extra arguments to s…
Browse files Browse the repository at this point in the history
…park-shell
  • Loading branch information
ryanfb committed Apr 21, 2017
1 parent 2996610 commit 1a3b63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ ADD http://d3kbcqa49mib13.cloudfront.net/spark-1.6.1-bin-hadoop2.6.tgz /usr/src/
WORKDIR /usr/src/spark
RUN tar xzvf spark.tgz

CMD ["/usr/src/spark/spark-1.6.1-bin-hadoop2.6/bin/spark-shell", "--jars", "/usr/src/warcbase/warcbase-core/target/warcbase-core-0.1.0-SNAPSHOT-fatjar.jar"]
ENTRYPOINT ["/usr/src/spark/spark-1.6.1-bin-hadoop2.6/bin/spark-shell", "--jars", "/usr/src/warcbase/warcbase-core/target/warcbase-core-0.1.0-SNAPSHOT-fatjar.jar"]

0 comments on commit 1a3b63d

Please sign in to comment.