🐳 Inject timezones list into build
/ docker (push) Successful in 1m5s Details

This commit is contained in:
Maxim Lebedev 2023-11-10 02:49:37 +06:00
parent 907dae0359
commit 41b9ad92c8
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ FROM golang:alpine AS builder
WORKDIR /app
ENV CGO_ENABLED=0
ENV GOFLAGS="-mod=vendor -buildvcs=true"
ENV GOFLAGS="-tags=timetzdata -mod=vendor -buildvcs=true"
COPY go.mod go.sum *.go ./
COPY internal ./internal/

View File

@ -21,6 +21,7 @@ import (
"runtime/pprof"
"syscall"
"time"
_ "time/tzdata"
"github.com/caarlos0/env/v10"
"golang.org/x/text/language"