AdGuardHome/scripts/make
Phill Kelley 86669b9bed
Proposes adding tzdata to Dockerfile so that container will respect TZ= environment variable.
Example docker-compose.yml

```
version: '3.6'

services:

  adguardhome:
    container_name: adguardhome
    image: adguard/adguardhome
    restart: unless-stopped
    environment:
      - TZ=Australia/Sydney
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "8089:8089/tcp"
      - "3001:3000/tcp"
    volumes:
       - ./volumes/adguardhome/workdir:/opt/adguardhome/work
       - ./volumes/adguardhome/confdir:/opt/adguardhome/conf
```

Start container:

```
$ docker-compose up -d adguardhome
Creating adguardhome ... done
```

Test 1: shows container ignoring TZ== and running UTC.

```
$ docker exec adguardhome date
Wed Mar 31 11:05:37 UTC 2021
```

Add tzdata package to container:

```
$ docker exec adguardhome apk add --no-cache tzdata
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz
(1/1) Installing tzdata (2021a-r0)
Executing busybox-1.31.1-r19.trigger
OK: 8 MiB in 17 packages
```

Test 2: shows container respecting TZ= and running UTC+11.

```
$ docker exec adguardhome date
Wed Mar 31 22:07:58 AEDT 2021
```
2021-03-31 22:17:22 +11:00
..
build-docker.sh Pull request: scripts: fix shameful error 2021-02-15 16:52:16 +03:00
build-release.sh Pull request: all: update go and backend tools 2021-03-11 12:17:54 +03:00
clean.sh Pull request: all: add a new Makefile and scripts, remove goreleaaser 2020-12-30 18:26:25 +03:00
Dockerfile Proposes adding tzdata to Dockerfile so that container will respect TZ= environment variable. 2021-03-31 22:17:22 +11:00
go-build.sh Pull request: 2416 improve version output 2021-03-31 12:55:21 +03:00
go-deps.sh Pull request: home: don't miss blocked clients in client search api 2021-01-15 20:30:48 +03:00
go-lint.sh Pull request: dnsforward: imp code, decr cyclo 2021-03-26 13:29:33 +03:00
go-test.sh Pull request: all: imp tests, docs 2021-01-29 20:00:11 +03:00
go-tools.sh Pull request: home: don't miss blocked clients in client search api 2021-01-15 20:30:48 +03:00
version.sh Pull request: scripts: imp version 2021-03-10 18:08:47 +03:00