Remove timezone commands

They have been moved to ckan-docker-base

https://github.com/ckan/ckan-docker-base/pull/30
This commit is contained in:
amercader 2023-10-17 12:39:03 +02:00
parent f9ebc0c41c
commit f653b0324d
2 changed files with 0 additions and 17 deletions

View File

@ -1,15 +1,5 @@
FROM ckan/ckan-base:2.10.1
# Set up environment variables
ENV APP_DIR=/srv/app
ENV TZ=UTC
RUN echo ${TZ} > /etc/timezone
# Copy custom initialization scripts
COPY docker-entrypoint.d/* /docker-entrypoint.d/
# Make sure both files are not exactly the same
RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
cp /usr/share/zoneinfo/${TZ} /etc/localtime ;\
fi ;

View File

@ -3,13 +3,6 @@ FROM ckan/ckan-dev:2.10.1
# Set up environment variables
ENV APP_DIR=/srv/app
ENV TZ=UTC
RUN echo ${TZ} > /etc/timezone
# Make sure both files are not exactly the same
RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
cp /usr/share/zoneinfo/${TZ} /etc/localtime ;\
fi ;
# Install any extensions needed by your CKAN instance
# - Make sure to add the plugins to CKAN__PLUGINS in the .env file