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:
parent
f9ebc0c41c
commit
f653b0324d
|
@ -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 ;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue