Alpineイメージに変更, タイムゾーンの変更コマンド追加
This commit is contained in:
parent
3f49c81481
commit
de33267ca1
2 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue