Skip to content

Commit 81bd355

Browse files
mccheahash211
authored andcommitted
Use OpenJDK8's official Alpine image. (apache#51)
1 parent 48f5884 commit 81bd355

File tree

2 files changed

+6
-2
lines changed
  • resource-managers/kubernetes/docker-minimal-bundle/src/main/docker

2 files changed

+6
-2
lines changed

resource-managers/kubernetes/docker-minimal-bundle/src/main/docker/driver/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM anapsix/alpine-java:8
1+
FROM openjdk:8-alpine
22

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

7+
RUN apk upgrade --update
8+
RUN apk add --update bash
79
RUN mkdir -p /opt/spark
810
RUN touch /opt/spark/RELEASE
911

resource-managers/kubernetes/docker-minimal-bundle/src/main/docker/executor/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM anapsix/alpine-java:8
1+
FROM openjdk:8-alpine
22

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

7+
RUN apk upgrade --update
8+
RUN apk add --update bash
79
RUN mkdir -p /opt/spark
810
RUN touch /opt/spark/RELEASE
911

0 commit comments

Comments
 (0)