From de33267ca1cbb665a07e71157ad2f369e43ce8e3 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Wed, 23 Oct 2024 11:24:53 +0900 Subject: [PATCH] =?UTF-8?q?Alpine=E3=82=A4=E3=83=A1=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4,=20=E3=82=BF=E3=82=A4=E3=83=A0?= =?UTF-8?q?=E3=82=BE=E3=83=BC=E3=83=B3=E3=81=AE=E5=A4=89=E6=9B=B4=E3=82=B3?= =?UTF-8?q?=E3=83=9E=E3=83=B3=E3=83=89=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile_auth | 7 ++++--- Dockerfile_bot | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile_auth b/Dockerfile_auth index 51ddb85..1287c10 100644 --- a/Dockerfile_auth +++ b/Dockerfile_auth @@ -1,10 +1,11 @@ -FROM python:3.12 +FROM python:3.12-alpine USER root RUN mkdir /dislocker -ENV TZ JST-9 -ENV TERM xterm +RUN apk --no-cache add tzdata +RUN cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime +RUN apk del tzdata RUN pip install --upgrade pip RUN pip install --upgrade setuptools diff --git a/Dockerfile_bot b/Dockerfile_bot index ac45332..e00c09a 100644 --- a/Dockerfile_bot +++ b/Dockerfile_bot @@ -1,10 +1,11 @@ -FROM python:3.12 +FROM python:3.12-alpine USER root RUN mkdir /dislocker -ENV TZ JST-9 -ENV TERM xterm +RUN apk --no-cache add tzdata +RUN cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime +RUN apk del tzdata RUN pip install --upgrade pip RUN pip install --upgrade setuptools