1
0

Move to apachehudi dockerhub repository & use openjdk docker containers

This commit is contained in:
Balaji Varadarajan
2019-04-17 09:53:22 -07:00
committed by vinoth chandar
parent 36ef94004e
commit 243c58f77c
19 changed files with 37 additions and 39 deletions

View File

@@ -1,19 +1,17 @@
FROM frolvlad/alpine-java
FROM openjdk:8u212-jdk-slim-stretch
MAINTAINER Hoodie
USER root
# Default to UTF-8 file.encoding
ENV LANG C.UTF-8
# Updating & Installing packages
RUN apk add net-tools curl bash perl procps
ARG HADOOP_VERSION=2.8.4
ARG HADOOP_URL=https://www.apache.org/dist/hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}.tar.gz
ENV HADOOP_VERSION ${HADOOP_VERSION}
ENV HADOOP_URL ${HADOOP_URL}
RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get -yq update && apt-get -yq install curl wget netcat procps \
&& echo "Fetch URL2 is : ${HADOOP_URL}" \
&& curl -fSL "${HADOOP_URL}" -o /tmp/hadoop.tar.gz \
&& curl -fSL "${HADOOP_URL}.asc" -o /tmp/hadoop.tar.gz.asc \