From 36009c4dbfcbc1f1df40cf93d9505c60dcc90eb3 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Mon, 12 Aug 2019 11:47:59 +1000 Subject: [PATCH] DCD-558: Add Python3 and Jinja2 to Docker images. --- Dockerfile | 2 +- Dockerfile-alpine | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b83f757..64cd9d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ CMD ["/entrypoint.sh", "-fg"] ENTRYPOINT ["/sbin/tini", "--"] RUN apt-get update \ - && apt-get install -y --no-install-recommends fontconfig \ + && 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/* ARG TINI_VERSION=v0.18.0 diff --git a/Dockerfile-alpine b/Dockerfile-alpine index ae48145..0ed0a21 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -20,7 +20,7 @@ EXPOSE 8091 CMD ["/entrypoint.sh", "-fg"] ENTRYPOINT ["/sbin/tini", "--"] -RUN apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl ttf-dejavu tini +RUN apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl ttf-dejavu tini python3 py3-jinja2 # Workaround for AdoptOpenJDK Alpine fontconfig bug RUN ln -s /usr/lib/libfontconfig.so.1 /usr/lib/libfontconfig.so \