diff --git a/Dockerfile b/Dockerfile index 9a5070caf918d8..aea13027cd5145 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,19 +42,12 @@ RUN INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build version drivers uberjar ## Remember that this runner image needs to be the same as bin/docker/Dockerfile with the exception that this one grabs the ## jar from the previous stage rather than the local build -FROM openjdk:11-ea-jre as runner +FROM adoptopenjdk/openjdk11:alpine-jre as runner ENV FC_LANG en-US LC_CTYPE en_US.UTF-8 # dependencies -#RUN apk upgrade && apk add --update-cache --no-cache bash ttf-dejavu fontconfig curl java-cacerts && \ -RUN apt-get update -y \ - && apt-get install -y \ - bash \ - ttf-dejavu \ - fontconfig \ - curl \ - ca-certificates-java \ +RUN apk upgrade && apk add --update-cache --no-cache bash ttf-dejavu fontconfig curl java-cacerts && \ && mkdir -p /app/certs && \ curl https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem -o /app/certs/rds-combined-ca-bundle.pem && \ /opt/java/openjdk/bin/keytool -noprompt -import -trustcacerts -alias aws-rds -file /app/certs/rds-combined-ca-bundle.pem -keystore /etc/ssl/certs/java/cacerts -keypass changeit -storepass changeit && \