build.yml

This commit is contained in:
Brett 2021-05-11 14:25:39 +02:00
parent ba2596bb79
commit c442d4c997
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,5 @@ jobs:
# run: |
# docker build ./datapusher -t kowhai/ckan-docker-datapusher:testing-only
- name: Docker CKAN build
env:
TZ: UTC
run: |
docker build ./ckan -t kowhai/ckan-docker-ckan:testing-only

View File

@ -5,7 +5,8 @@ LABEL maintainer="brett@kowh.ai"
# Set timezone
ENV TZ=UTC
RUN echo $TZ > /etc/timezone
RUN cat /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 ;