diff --git a/Dockerfile.jetty b/Dockerfile.jetty index f2f882fd..cfc70439 100644 --- a/Dockerfile.jetty +++ b/Dockerfile.jetty @@ -15,7 +15,7 @@ USER root RUN apt-get update && \ apt-get install -y --no-install-recommends graphviz fonts-noto-cjk && \ - apt-get clean && rm -rf /var/lib/apt/lists/* + rm -rf /var/lib/apt/lists/* USER jetty diff --git a/Dockerfile.tomcat b/Dockerfile.tomcat index 255c9d00..a816a3cf 100644 --- a/Dockerfile.tomcat +++ b/Dockerfile.tomcat @@ -28,7 +28,7 @@ MAINTAINER D.Ducatel RUN apt-get update && \ apt-get install -y --no-install-recommends fonts-noto-cjk libexpat1 libcairo2 libpango1.0 libpangoft2-1.0 libpangocairo-1.0 && \ - apt-get clean && rm -rf /var/lib/apt/lists/* + rm -rf /var/lib/apt/lists/* ENV GRAPHVIZ_DOT=/usr/bin/dot