File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,18 @@ RUN chown -R postgres:postgres /usr/lib/postgresql
103
103
RUN ln -sf /usr/lib/postgresql/share/postgresql/timezonesets /usr/share/postgresql/timezonesets
104
104
105
105
106
- ENV DEBIAN_FRONTEND=noninteractive
107
- RUN apt-get update && \
106
+ ENV DEBIAN_FRONTEND=noninteractive \
107
+ DEBCONF_NONINTERACTIVE_SEEN=true \
108
+ TZ=Etc/UTC \
109
+ TERM=linux
110
+
111
+ RUN echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections && \
112
+ echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections && \
113
+ apt-get update && \
108
114
apt-get install -y --no-install-recommends tzdata && \
109
115
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
110
- dpkg-reconfigure -f noninteractive tzdata
116
+ dpkg-reconfigure -f noninteractive tzdata && \
117
+ rm -rf /var/lib/apt/lists/*
111
118
112
119
RUN apt-get update && \
113
120
apt-get install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments