From f055589782169584e73529ccb7be7c31befd47da Mon Sep 17 00:00:00 2001 From: Sergey Antropoff Date: Mon, 17 Mar 2025 15:29:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20init=20=D0=B8=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83?= =?UTF-8?q?=20=D0=B2=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + Makefile | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff73520..db3c4f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,7 @@ FROM python:3.12.9-slim-bullseye # Копируем только необходимые файлы из промежуточного образа COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages +COPY --from=builder /usr/bin /usr/bin COPY --from=builder /usr/local/bin /usr/local/bin COPY --from=builder /root/.ssh /root/.ssh COPY --from=builder /ansible /ansible diff --git a/Makefile b/Makefile index f937585..b933e76 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ else $(error Invalid RUN_MODE. Use "docker-compose" or "docker") endif -view create edit show delete test lint deploy new: +view create edit show delete test lint deploy new init build rebuild prune release push pull: @true #################################################################################################### @@ -30,12 +30,10 @@ view create edit show delete test lint deploy new: init: @echo "Шаг 1: Создание Docker-образа..." @make docker build - @echo "Шаг 2: Создание нового vault-файла с паролем..." @read -p "Введите пароль для vault: " VAULT_PASSWORD; \ echo "$$VAULT_PASSWORD" > vault-password.txt; \ make vault create - @echo "Шаг 3: Создание нового брэнча в гите..." @make git new