From da1b6c270acb2da26f3c846e278cdbfad0c0fe4d Mon Sep 17 00:00:00 2001 From: "Arthur K." Date: Sat, 31 Jan 2026 14:59:35 +0300 Subject: [PATCH] =?UTF-8?q?=D1=85=D0=BE=D0=B7=D1=8F=D0=B9=D1=81=D1=82?= =?UTF-8?q?=D0=B2=D0=B5=D0=BD=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=B0:=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D0=B5=20';?= =?UTF-8?q?'=20=D0=BE=D1=82=20Dockerfiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/Dockerfile | 2 +- puppy/Dockerfile | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proxy/Dockerfile b/proxy/Dockerfile index 5e46401..e80a6b5 100644 --- a/proxy/Dockerfile +++ b/proxy/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.23-alpine AS builder WORKDIR /build COPY . . -RUN --mount=type=cache,target=/go/pkg/mod go build; +RUN --mount=type=cache,target=/go/pkg/mod go build FROM alpine AS runner diff --git a/puppy/Dockerfile b/puppy/Dockerfile index b235ad9..0939ed3 100644 --- a/puppy/Dockerfile +++ b/puppy/Dockerfile @@ -3,13 +3,13 @@ FROM debian:13-slim AS builder RUN apt-get update && DEBIAN_FRONTEND=noninteracive apt-get install -y \ --no-install-recommends cmake g++-mingw-w64-i686-posix g++ make && \ - apt-get clean && rm -rf /var/lib/apt/lists/*; + apt-get clean && rm -rf /var/lib/apt/lists/* WORKDIR /build COPY app/healthcheck.cpp app/healthcheck.cpp COPY include/http include/http -RUN g++ -o healthcheck -I./include ./app/healthcheck.cpp; +RUN g++ -o healthcheck -I./include ./app/healthcheck.cpp COPY app app COPY include include @@ -18,7 +18,7 @@ COPY CMakeLists.txt . RUN --mount=type=cache,target=cmake-build cmake -B cmake-build \ -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ && cmake --build cmake-build -j$(nproc) && \ - cp cmake-build/promt-puppy.exe .; + cp cmake-build/promt-puppy.exe . FROM debian:13-slim AS runner @@ -31,13 +31,13 @@ RUN dpkg --add-architecture i386 && apt-get update && \ apt-get install -y --no-install-recommends \ wine wine64 wine32:i386 && \ apt-get clean && rm -rf /var/lib/apt/lists/* && \ - mkdir -p /tmpfs $WINEPREFIX/drive_c && ln -sf /tmpfs $WINEPREFIX/drive_c/tmpfs; + mkdir -p /tmpfs $WINEPREFIX/drive_c && ln -sf /tmpfs $WINEPREFIX/drive_c/tmpfs COPY build/ $WINEPREFIX/drive_c WORKDIR /app COPY --from=builder /build/promt-puppy.exe /build/healthcheck . -HEALTHCHECK --start-period=30s --start-interval=1s CMD ./healthcheck; +HEALTHCHECK --start-period=30s --start-interval=1s CMD ./healthcheck EXPOSE 80/tcp VOLUME /cache