Skip to content

Commit

Permalink
Switching back to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
r351574nc3 committed Nov 15, 2023
1 parent 0af4bab commit 0e9bb5a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 0e9bb5a

Please sign in to comment.