From b3b4a5296997d102fa39a06d4806701fa91fd1fc Mon Sep 17 00:00:00 2001 From: Afireal Date: Fri, 13 Mar 2026 11:20:07 +0500 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=94=D0=95=20=D0=94=D0=95=D0=9C=D0=9E?= =?UTF-8?q?=D0=9D=3F!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 22 +++------------------- Makefile | 4 ++-- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1449c27..4836ea7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,28 +1,12 @@ -FROM ubuntu:24.04 - -ENV DEBIAN_FRONTEND=noninteractive +FROM docker:dind # среда -RUN apt-get update && apt-get install -y --no-install-recommends \ - ca-certificates \ - git \ - && rm -rf /var/lib/apt/lists/* +RUN apk add --no-cache git # nodejs -RUN apt-get update && apt-get install -y --no-install-recommends \ - nodejs \ - && rm -rf /var/lib/apt/lists/* - -# docker -ENV DOCKER_BUILDKIT=1 -RUN apt-get update && apt-get install -y --no-install-recommends \ - docker-cli \ - && rm -rf /var/lib/apt/lists/* +RUN apk add --no-cache nodejs npm # check RUN git --version && \ docker --version && \ node --version - -ENV DEBIAN_FRONTEND= -ENTRYPOINT ["/bin/bash"] diff --git a/Makefile b/Makefile index adcd747..08f7f61 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: build upload build: - docker build -t code.nogamenolife.ru/vault/docker-node:test . + docker build -t code.nogamenolife.ru/vault/docker-node:dind4 . upload: build - docker push code.nogamenolife.ru/vault/docker-node:test + docker push code.nogamenolife.ru/vault/docker-node:dind4