Skip to content

Commit f58d542

Browse files
committed
Hadoop base image updated to Debian 9. Fixes johannestang#1.
1 parent ffb6256 commit f58d542

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

images/hadoop-base/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
# The following changes have been made:
33
#
44
# 1. Hadoop updated to 2.8.5
5+
# 2. Base image updated to debian 9
56

6-
FROM debian:8
7+
FROM debian:9
78
89

9-
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
10-
11-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -t jessie-backports openjdk-8-jdk
10+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openjdk-8-jdk
1211
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
1312

14-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends net-tools curl netcat
13+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends net-tools curl netcat gnupg
1514

1615
RUN curl -L https://dist.apache.org/repos/dist/release/hadoop/common/KEYS -o /tmp/KEYS && \
1716
gpg --import /tmp/KEYS

0 commit comments

Comments
 (0)