docker: Fix timezone prompt

This commit is contained in:
James R. Barlow
2021-07-15 23:29:53 -07:00
parent 814ad36e51
commit 2366629774
+5 -4
View File
@@ -1,10 +1,13 @@
# OCRmyPDF
#
FROM ubuntu:21.04 as base
FROM base as builder
ENV LANG=C.UTF-8
ENV TZ=UTC
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
FROM base as builder
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential autoconf automake libtool \
@@ -41,8 +44,6 @@ RUN pip3 install --no-cache-dir .[test,webservice,watcher]
FROM base
ENV LANG=C.UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
ghostscript \
img2pdf \