Upgrade Go and dependencies, support custom TZ, fix initial ownership of sqlite db dir.

* Upgrade Go version to 1.13.7, alpine to 3.11 and other dependencies.
* You can define timezone when running container by adding `TZ` env var, e.g. "-e TZ=America/Los_Angeles"
  (thanks to @gminog).
* Fix initial ownership of /opt/data dir in Dockerfile.
This commit is contained in:
Roman Vynar
2020-02-17 13:13:53 +02:00
parent 905e760956
commit 41e74f70a2
9 changed files with 103 additions and 86 deletions

View File

@@ -10,8 +10,8 @@ import (
"strings"
"github.com/CloudyKit/jet"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
"github.com/quiq/docker-registry-ui/events"
"github.com/quiq/docker-registry-ui/registry"
"github.com/robfig/cron"