Skip to content

Commit

Permalink
Adding defaults so that the docker image will build with defaults if …
Browse files Browse the repository at this point in the history
…not provided as build args
  • Loading branch information
Zak Hassan committed Feb 1, 2017
1 parent 0a965ff commit 6c1f528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM centos:latest
MAINTAINER Matthew Farrellee <[email protected]>

USER root
ARG DISTRO_LOC
ARG DISTRO_NAME
ARG DISTRO_LOC=https://dist.apache.org/repos/dist/release/spark/spark-2.1.0/spark-2.1.0-bin-hadoop2.7.tgz
ARG DISTRO_NAME=spark-2.1.0-bin-hadoop2.7

RUN yum install -y epel-release tar java && \
yum clean all
Expand Down

0 comments on commit 6c1f528

Please sign in to comment.