From 492556d43ccbe2307bab9c6e55a86bc3fd761b9e Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Thu, 9 Jan 2020 11:52:29 -0500 Subject: New base image for Java 11 Issue-ID: DMAAP-1363 Signed-off-by: dglFromAtt Change-Id: Ib5b3641accc6089820b2504c50356fc563dd744a Signed-off-by: dglFromAtt --- dmaap-bc/src/main/resources/Dockerfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'dmaap-bc') diff --git a/dmaap-bc/src/main/resources/Dockerfile b/dmaap-bc/src/main/resources/Dockerfile index d930a6f..3cb15cd 100644 --- a/dmaap-bc/src/main/resources/Dockerfile +++ b/dmaap-bc/src/main/resources/Dockerfile @@ -18,7 +18,7 @@ # limitations under the License. # ============LICENSE_END==================================================== # -FROM openjdk:8-jre-alpine +FROM openjdk:11.0.5-jre-slim MAINTAINER DMAAP Team @@ -26,17 +26,21 @@ COPY /opt /opt WORKDIR /opt/app/dmaapbc +RUN apt-get update && \ + apt-get install -y \ + curl \ + jq \ + openssl \ + net-tools \ + wget \ + bash + # Install AAF CA certificate -RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* +RUN apt install ca-certificates RUN mkdir -p /usr/local/share/ca-certificates && \ mv misc/aaf-ca.crt /usr/local/share/ca-certificates/aaf-ca.crt RUN update-ca-certificates -# Install curl -RUN apk add --no-cache curl - -# Install bash -RUN apk update && apk add bash #prepare certificate location for cadi RUN mkdir -p /opt/app/osaaf && \ -- cgit 1.2.3-korg