ЛР 4 — БПИ2301 — Каменски — на 5 #58

Closed
kmwk10 wants to merge 27 commits from kmwk10/mtusi2026lab4:solution/BPI2301-kamenski into main
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 592594ae94 - Show all commits
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.27.1-alpine3.24 AS build
FROM golang:1.27.1 AS build
ENV CGO_ENABLED=0
RUN go install github.com/pressly/goose/v3/cmd/goose@v3.28.0
+2 -2
View File
@@ -1,4 +1,4 @@
FROM golang:1.27.1-alpine3.24 AS build
FROM golang:1.27.1 AS build
ENV CGO_ENABLED=0
WORKDIR /src
@@ -8,6 +8,6 @@ RUN go mod download
COPY . .
RUN go build -o /out/s3config ./cmd/s3config
FROM alpine:3.24
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /out/s3config /usr/local/bin/s3config
ENTRYPOINT ["/usr/local/bin/s3config"]