From da1900c883d18575aa829df9923476463755d43c Mon Sep 17 00:00:00 2001 From: Isanka Date: Thu, 17 Oct 2024 02:45:55 +0900 Subject: [PATCH] set timezone to JST --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4609591..14f80fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,15 @@ # Build Stage FROM rust:latest as builder +ENV DEBIAN_FRONTEND=noninteractive + RUN apt-get update && apt-get install -y \ librocksdb-dev \ libclang-dev \ clang \ + tzdata \ + && ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime \ + && echo "Asia/Tokyo" > /etc/timezone \ && rm -rf /var/lib/apt/lists/* WORKDIR /app