From 0e9bb5a86cdcd144638c3e129dddb5cdb334dd8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20=28=EC=A4=91=EA=B4=91=29=20Przybylski?= Date: Wed, 15 Nov 2023 13:42:54 -0700 Subject: [PATCH] Switching back to alpine --- Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 && \