Nikita Zinkevich
0637133c61
All checks were successful
/ DCO (pull_request) Successful in 1m7s
/ Vulncheck (pull_request) Successful in 1m13s
/ Builds (1.22) (pull_request) Successful in 1m32s
/ Builds (1.23) (pull_request) Successful in 1m34s
/ Lint (pull_request) Successful in 2m51s
/ Tests (1.22) (pull_request) Successful in 1m39s
/ Tests (1.23) (pull_request) Successful in 1m41s
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
21 lines
424 B
Docker
21 lines
424 B
Docker
FROM golang:1.22 AS builder
|
|
|
|
ARG BUILD=now
|
|
ARG REPO=git.frostfs.info/TrueCloudLab/frostfs-s3-gw
|
|
ARG VERSION=dev
|
|
|
|
WORKDIR /src
|
|
COPY . /src
|
|
|
|
RUN make
|
|
|
|
# Executable image
|
|
FROM alpine AS frostfs-s3-gw
|
|
RUN apk add --no-cache bash ca-certificates
|
|
|
|
WORKDIR /
|
|
|
|
COPY --from=builder /src/bin/frostfs-s3-gw /bin/frostfs-s3-gw
|
|
COPY --from=builder /src/bin/frostfs-s3-authmate /bin/frostfs-s3-authmate
|
|
|
|
ENTRYPOINT ["/bin/frostfs-s3-gw"]
|