Skip to content

Commit

Permalink
Remove timezone commands
Browse files Browse the repository at this point in the history
They have been moved to ckan-docker-base

ckan/ckan-docker-base#30
  • Loading branch information
amercader committed Oct 17, 2023
1 parent f9ebc0c commit f653b03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
10 changes: 0 additions & 10 deletions ckan/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 ;
7 changes: 0 additions & 7 deletions ckan/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f653b03

Please sign in to comment.