diff --git a/java11/Dockerfile b/java11/Dockerfile index b131339..6b4ae7c 100644 --- a/java11/Dockerfile +++ b/java11/Dockerfile @@ -18,6 +18,11 @@ LABEL io.k8s.description="Platform for running plain Java applications (fat-jar com.yunify.dev-mode="JAVA_DEBUG:false" \ com.yunify.dev-mode.port="JAVA_DEBUG_PORT:5005" +#Install package +RUN apt update && apt -y install \ + fontconfig \ + && rm -rf /var/lib/apt/list/* + # S2I scripts + README COPY s2i /usr/local/s2i RUN chmod 755 /usr/local/s2i/* diff --git a/java8/Dockerfile b/java8/Dockerfile index 8a3572f..0f0ea51 100644 --- a/java8/Dockerfile +++ b/java8/Dockerfile @@ -18,6 +18,10 @@ LABEL io.k8s.description="Platform for running plain Java applications (fat-jar com.yunify.dev-mode="JAVA_DEBUG:false" \ com.yunify.dev-mode.port="JAVA_DEBUG_PORT:5005" +#Install package +RUN apk add --update --no-cache ttf-dejavu fontconfig \ + && fc-cache --force + # S2I scripts + README COPY s2i /usr/local/s2i RUN chmod 755 /usr/local/s2i/* diff --git a/tomcat85-java11/Dockerfile b/tomcat85-java11/Dockerfile index ab373a3..e441e32 100644 --- a/tomcat85-java11/Dockerfile +++ b/tomcat85-java11/Dockerfile @@ -24,6 +24,10 @@ ENV TOMCAT_VERSION 8.5.32 USER root +#Install package +RUN apt update && apt -y install \ + fontconfig \ + && rm -rf /var/lib/apt/list/* # Get and Unpack Tomcat RUN apt-get update \ diff --git a/tomcat85-java8/Dockerfile b/tomcat85-java8/Dockerfile index f7b1a2e..e2d8ab3 100644 --- a/tomcat85-java8/Dockerfile +++ b/tomcat85-java8/Dockerfile @@ -24,7 +24,11 @@ ENV TOMCAT_VERSION 8.5.32 USER root +#Install package +RUN apk add --update --no-cache ttf-dejavu fontconfig \ + && fc-cache --force + # Get and Unpack Tomcat RUN apk add --update curl \ && rm -rf /var/cache/apk/* \