From f181b474848ac5ec6cf5f0e0d5d6f347d5d7c8be Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Wed, 2 Jul 2025 01:07:56 +0300 Subject: [PATCH] Fixes: 1) Remove unnecessary `systemctl enable --now chrony` commands from Dockerfiles. Extra: Simplify Dockerfiles by removing unused chrony setup steps. --- Dockerfiles/Dockerfile.app | 2 -- Dockerfiles/Dockerfile.beat | 2 -- Dockerfiles/Dockerfile.stock_updater | 2 -- Dockerfiles/Dockerfile.worker | 2 -- 4 files changed, 8 deletions(-) diff --git a/Dockerfiles/Dockerfile.app b/Dockerfiles/Dockerfile.app index e7df5c30..c545addb 100644 --- a/Dockerfiles/Dockerfile.app +++ b/Dockerfiles/Dockerfile.app @@ -36,8 +36,6 @@ RUN set -eux; \ pip install --upgrade pip; \ curl -sSL https://install.python-poetry.org | python3 -RUN systemctl enable --now chrony - COPY pyproject.toml pyproject.toml COPY poetry.lock poetry.lock diff --git a/Dockerfiles/Dockerfile.beat b/Dockerfiles/Dockerfile.beat index 9617312b..8d175820 100644 --- a/Dockerfiles/Dockerfile.beat +++ b/Dockerfiles/Dockerfile.beat @@ -36,8 +36,6 @@ RUN set -eux; \ pip install --upgrade pip; \ curl -sSL https://install.python-poetry.org | python3 -RUN systemctl enable --now chrony - COPY pyproject.toml pyproject.toml COPY poetry.lock poetry.lock diff --git a/Dockerfiles/Dockerfile.stock_updater b/Dockerfiles/Dockerfile.stock_updater index 60f07aa7..2987573e 100644 --- a/Dockerfiles/Dockerfile.stock_updater +++ b/Dockerfiles/Dockerfile.stock_updater @@ -36,8 +36,6 @@ RUN set -eux; \ pip install --upgrade pip; \ curl -sSL https://install.python-poetry.org | python3 -RUN systemctl enable --now chrony - COPY pyproject.toml pyproject.toml COPY poetry.lock poetry.lock diff --git a/Dockerfiles/Dockerfile.worker b/Dockerfiles/Dockerfile.worker index 9e58084c..86f9ade0 100644 --- a/Dockerfiles/Dockerfile.worker +++ b/Dockerfiles/Dockerfile.worker @@ -36,8 +36,6 @@ RUN set -eux; \ pip install --upgrade pip; \ curl -sSL https://install.python-poetry.org | python3 -RUN systemctl enable --now chrony - COPY pyproject.toml pyproject.toml COPY poetry.lock poetry.lock