Upgrade default packages as part of build

This commit is contained in:
Dave Chevell 2020-01-13 13:29:55 +11:00
parent d9918364b8
commit a3d772c848
No known key found for this signature in database
GPG Key ID: 279DF1B52C7C44DC

View File

@ -19,7 +19,7 @@ EXPOSE 8091
CMD ["/entrypoint.py"] CMD ["/entrypoint.py"]
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]
RUN apt-get update \ RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 \ && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 \
&& apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*