aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2020-01-09 11:52:29 -0500
committerdglFromAtt <dgl@research.att.com>2020-01-09 11:52:40 -0500
commit492556d43ccbe2307bab9c6e55a86bc3fd761b9e (patch)
tree98b08e6afec84b187b6d83ac68750d36f4ff039b
parent30c70c4535d3abd691970d244ff13c58b4142480 (diff)
New base image for Java 11
Issue-ID: DMAAP-1363 Signed-off-by: dglFromAtt <dgl@research.att.com> Change-Id: Ib5b3641accc6089820b2504c50356fc563dd744a Signed-off-by: dglFromAtt <dgl@research.att.com>
-rw-r--r--dmaap-bc/src/main/resources/Dockerfile18
1 files changed, 11 insertions, 7 deletions
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 && \