2022-07-12 16:04:31 +02:00
|
|
|
FROM ckan/ckan-base:2.9.5
|
2020-09-17 11:42:27 +02:00
|
|
|
|
2021-05-13 08:34:14 +02:00
|
|
|
|
|
|
|
# Set up environment variables
|
|
|
|
ENV APP_DIR=/srv/app
|
2021-05-11 14:22:25 +02:00
|
|
|
ENV TZ=UTC
|
2021-05-12 16:25:03 +02:00
|
|
|
RUN echo ${TZ} > /etc/timezone
|
2021-05-11 14:25:39 +02:00
|
|
|
|
|
|
|
# Make sure both files are not exactly the same
|
2021-05-11 13:57:34 +02:00
|
|
|
RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
|
2021-05-11 14:08:32 +02:00
|
|
|
cp /usr/share/zoneinfo/${TZ} /etc/localtime ;\
|
2022-07-12 16:04:31 +02:00
|
|
|
fi ;
|