From cf4272bde208f722815ec8e0c6e9adc35d90cc5b Mon Sep 17 00:00:00 2001 From: Brett <54408245+kowh-ai@users.noreply.github.com> Date: Tue, 11 May 2021 13:22:25 +0200 Subject: [PATCH] build.yml changes --- .github/workflows/build.yml | 1 - ckan/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)