Выполнение lab4 на 4

This commit is contained in:
Daria0w0
2026-11-06 17:35:48 +03:00
parent 9197e151ba
commit 879463c947
89 changed files with 5551 additions and 108 deletions
+6 -1
View File
@@ -12,11 +12,16 @@ COPY internal ./internal
RUN go vet ./... \
&& go test ./... \
&& go build -trimpath -ldflags="-s -w" -o /out/server ./cmd/server
&& go build -trimpath -ldflags="-s -w" -o /out/server ./cmd/server \
&& go build -trimpath -ldflags="-s -w" -o /out/resourceprobe ./cmd/resourceprobe
FROM build AS s3-client-test
ENTRYPOINT ["go", "test", "-count=1", "-v", "./internal/objectstore"]
FROM scratch
COPY --from=build /out/server /server
COPY --from=build /out/resourceprobe /resourceprobe
USER 65532:65532