mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
Add tzdata to server base image and binary (#2277)
This commit is contained in:
@@ -31,6 +31,7 @@ import (
|
||||
"path"
|
||||
"runtime"
|
||||
"strings"
|
||||
_ "time/tzdata" // embed tzdata as a fallback
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
```
|
||||
|
||||
@@ -19,6 +19,7 @@ FROM alpine:3.13 AS base-server
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
ca-certificates \
|
||||
tzdata \
|
||||
bash \
|
||||
curl \
|
||||
vim
|
||||
|
||||
Reference in New Issue
Block a user