From c061d59737b1b1eb186852fe9ce8fff46bd3d53c Mon Sep 17 00:00:00 2001 From: Zachary Hu <6426329+outsinre@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:59:50 +0800 Subject: [PATCH] chore(package): add tzdata to deb images (#12609) The tzdata package supports standard timezone database info. So users can set or show convenient timezone info. Fix #FTI-5698 (cherry picked from commit 9d68f16a44a42dc1fa51c2a94627084d44af6404) --- build/dockerfiles/deb.Dockerfile | 1 + changelog/unreleased/kong/add_tzdata.yml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog/unreleased/kong/add_tzdata.yml diff --git a/build/dockerfiles/deb.Dockerfile b/build/dockerfiles/deb.Dockerfile index 67e4eec30be3..219dc628a65c 100644 --- a/build/dockerfiles/deb.Dockerfile +++ b/build/dockerfiles/deb.Dockerfile @@ -20,6 +20,7 @@ COPY ${KONG_ARTIFACT_PATH}${KONG_ARTIFACT} /tmp/kong.deb RUN apt-get update \ && apt-get -y upgrade \ && apt-get -y autoremove \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata \ && apt-get install -y --no-install-recommends /tmp/kong.deb \ && rm -rf /tmp/kong.deb \ && chown kong:0 /usr/local/bin/kong \ diff --git a/changelog/unreleased/kong/add_tzdata.yml b/changelog/unreleased/kong/add_tzdata.yml new file mode 100644 index 000000000000..91c8df9c2ad0 --- /dev/null +++ b/changelog/unreleased/kong/add_tzdata.yml @@ -0,0 +1,3 @@ +message: | + Add package `tzdata` to DEB Docker image for convenient timezone setting. +type: dependency