diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76f1e65..b79d97b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,5 +23,4 @@ jobs: env: TZ: UTC run: | - cmp /usr/share/zoneinfo/${TZ} /etc/localtime || echo "files are different" docker build ./ckan -t kowhai/ckan-docker-ckan:testing-only \ No newline at end of file diff --git a/ckan/Dockerfile b/ckan/Dockerfile index 4e45216..be8bfd2 100644 --- a/ckan/Dockerfile +++ b/ckan/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="brett@kowh.ai" # Set timezone ARG TZ RUN echo $TZ > /etc/timezone -RUN cp /usr/share/zoneinfo/$TZ /etc/localtime +RUN cmp /usr/share/zoneinfo/${TZ} /etc/localtime || cp /usr/share/zoneinfo/${TZ} /etc/localtime # Install any extensions needed by your CKAN instance # (Make sure to add the plugins to CKAN__PLUGINS in the .env file)