mirror of
https://github.com/Ground-Zerro/DomainMapper.git
synced 2025-12-10 01:47:18 +07:00
Update dm-docker.sh
This commit is contained in:
@@ -37,13 +37,14 @@ FROM ubuntu:jammy
|
||||
|
||||
# Устанавливаем необходимые пакеты для сборки Python
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV TZ=Etc/UTC
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev tzdata && \
|
||||
ln -fs /usr/share/zoneinfo/\$TZ /etc/localtime && \
|
||||
echo \$TZ > /etc/timezone && \
|
||||
dpkg-reconfigure --frontend noninteractive tzdata && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Настраиваем временную зону по умолчанию
|
||||
RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
# Скачиваем и устанавливаем Python 3.12
|
||||
RUN wget https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz && \
|
||||
tar -xvf Python-3.12.0.tgz && \
|
||||
|
||||
Reference in New Issue
Block a user