Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 002c25d

Browse files
committed
Switching back to alpine
1 parent 0af4bab commit 002c25d

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ ARG MB_EDITION=oss
1010

1111
WORKDIR /home/circleci
1212

13-
RUN apk add --no-cache patch
14-
1513
RUN if [ "$ENV" = "staging" ] ; then patch -p1 < staging.patch; fi
1614

1715
COPY --chown=circleci . .
@@ -42,20 +40,13 @@ RUN INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build version drivers uberjar
4240
## Remember that this runner image needs to be the same as bin/docker/Dockerfile with the exception that this one grabs the
4341
## jar from the previous stage rather than the local build
4442

45-
FROM openjdk:11-ea-jre as runner
43+
FROM adoptopenjdk/openjdk11:alpine-jre as runner
4644

4745
ENV FC_LANG en-US LC_CTYPE en_US.UTF-8
4846

4947
# dependencies
50-
#RUN apk upgrade && apk add --update-cache --no-cache bash ttf-dejavu fontconfig curl java-cacerts && \
51-
RUN apt-get update -y \
52-
&& apt-get install -y \
53-
bash \
54-
ttf-dejavu \
55-
fontconfig \
56-
curl \
57-
ca-certificates-java \
58-
&& mkdir -p /app/certs && \
48+
RUN apk upgrade && apk add --update-cache --no-cache bash ttf-dejavu fontconfig curl java-cacerts && \
49+
mkdir -p /app/certs && \
5950
curl https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem -o /app/certs/rds-combined-ca-bundle.pem && \
6051
/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 && \
6152
curl https://cacerts.digicert.com/DigiCertGlobalRootG2.crt.pem -o /app/certs/DigiCertGlobalRootG2.crt.pem && \

0 commit comments

Comments
 (0)