forked from BD2KGenomics/cgl-docker-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1641aa
commit b3aa6f0
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,17 @@ MAINTAINER Alyssa Morrow, [email protected] | |
RUN mkdir /opt/cgl-docker-lib | ||
COPY mango /opt/cgl-docker-lib/mango | ||
|
||
WORKDIR /opt/cgl-docker-lib/mango | ||
|
||
# copy spark | ||
COPY apache-spark /opt/cgl-docker-lib/apache-spark | ||
|
||
ENV SPARK_HOME /opt/cgl-docker-lib/apache-spark | ||
|
||
# put mango jar on the pyspark path for packaging | ||
ENV ASSEMBLY_DIR /opt/cgl-docker-lib/mango/mango-assembly/target | ||
RUN ls /opt/cgl-docker-lib/mango/mango-cli/src/main/webapp/resources | ||
|
||
ENV ASSEMBLY_JAR "$(ls -1 "$ASSEMBLY_DIR" | grep "^mango-assembly[0-9A-Za-z\_\.-]*\.jar$" | grep -v javadoc | grep -v sources || true)" | ||
ENV PYSPARK_SUBMIT_ARGS "--jars ${ASSEMBLY_DIR}/${ASSEMBLY_JAR} --driver-class-path ${ASSEMBLY_DIR}/${ASSEMBLY_JAR} pyspark-shell" | ||
|
||
|
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