build.yml changes

This commit is contained in:
Brett 2021-05-11 13:22:25 +02:00
parent 4a1aac90f3
commit cf4272bde2
2 changed files with 1 additions and 2 deletions

View File

@ -23,5 +23,4 @@ jobs:
env: env:
TZ: UTC TZ: UTC
run: | run: |
cmp /usr/share/zoneinfo/${TZ} /etc/localtime || echo "files are different"
docker build ./ckan -t kowhai/ckan-docker-ckan:testing-only docker build ./ckan -t kowhai/ckan-docker-ckan:testing-only

View File

@ -5,7 +5,7 @@ LABEL maintainer="brett@kowh.ai"
# Set timezone # Set timezone
ARG TZ ARG TZ
RUN echo $TZ > /etc/timezone 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 # Install any extensions needed by your CKAN instance
# (Make sure to add the plugins to CKAN__PLUGINS in the .env file) # (Make sure to add the plugins to CKAN__PLUGINS in the .env file)