Skip to content

Commit

Permalink
Need to use --repositories for jitpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Feb 6, 2020
1 parent 2173390 commit baee431
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,11 @@ RUN apk add --update \
# Sample resources
RUN git clone https://github.com/archivesunleashed/aut-resources.git /aut-resources

# Ivy doesn't appear to use JitPack
# Build aut (workaround for https://github.com/archivesunleashed/docker-aut/issues/19)

RUN git clone https://github.com/archivesunleashed/aut.git /aut \
&& cd /aut \
&& git checkout 59b60621500246f48051466005d6a5dc59f74369 \
&& mvn clean install

# Spark shell
RUN mkdir /spark \
&& cd /tmp \
&& wget -q "https://archive.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" \
&& tar -xf "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" -C /spark --strip-components=1 \
&& rm "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz"

CMD /spark/bin/spark-shell --packages "io.archivesunleashed:aut:0.50.0"
CMD /spark/bin/spark-shell --packages "io.archivesunleashed:aut:0.50.0" --repositories "https://jitpack.io"

0 comments on commit baee431

Please sign in to comment.