Add tzdata to server base image and binary (#2277)

This commit is contained in:
David Reiss
2021-12-20 22:50:12 -08:00
committed by GitHub
parent 0f2bcc83c1
commit 929c1cd372
3 changed files with 4 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ import (
"path"
"runtime"
"strings"
_ "time/tzdata" // embed tzdata as a fallback
"github.com/urfave/cli/v2"

View File

@@ -5,7 +5,7 @@ To build a new version of base docker image run:
make <base_image_name> DOCKER_IMAGE_TAG=<new_base_image_version>
```
Check [MakeFile](Makefile) for all possible `base_image_name` options.
Check [Makefile](Makefile) for all possible `base_image_name` options.
For example:
```bash
@@ -69,4 +69,4 @@ docker run --rm -it --platform linux/arm64 temporalio/base-server:1.1.0 uname -m
docker buildx rm builder-x
make docker-buildx-container
docker buildx inspect --bootstrap
```
```

View File

@@ -19,6 +19,7 @@ FROM alpine:3.13 AS base-server
RUN apk add --update --no-cache \
ca-certificates \
tzdata \
bash \
curl \
vim