Skip to content

Commit

Permalink
Use OpenJDK8's official Alpine image. (apache#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccheah authored and ash211 committed Jan 26, 2017
1 parent 4df2fae commit 37b6014
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM anapsix/alpine-java:8
FROM openjdk:8-alpine

# If this docker file is being used in the context of building your images from a Spark distribution, the docker build
# command should be invoked from the top level directory of the Spark distribution. E.g.:
# docker build -t spark-driver:latest -f dockerfiles/driver/Dockerfile .

RUN apk upgrade --update
RUN apk add --update bash
RUN mkdir -p /opt/spark
RUN touch /opt/spark/RELEASE

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM anapsix/alpine-java:8
FROM openjdk:8-alpine

# If this docker file is being used in the context of building your images from a Spark distribution, the docker build
# command should be invoked from the top level directory of the Spark distribution. E.g.:
# docker build -t spark-executor:latest -f dockerfiles/executor/Dockerfile .

RUN apk upgrade --update
RUN apk add --update bash
RUN mkdir -p /opt/spark
RUN touch /opt/spark/RELEASE

Expand Down

0 comments on commit 37b6014

Please sign in to comment.