Ekaterina Lebedeva
94f07b4778
All checks were successful
Build / Build Components (1.21) (pull_request) Successful in 2m14s
DCO action / DCO (pull_request) Successful in 2m42s
Build / Build Components (1.22) (pull_request) Successful in 3m49s
Vulncheck / Vulncheck (pull_request) Successful in 3m53s
Tests and linters / Staticcheck (pull_request) Successful in 5m2s
Tests and linters / gopls check (pull_request) Successful in 5m9s
Tests and linters / Lint (pull_request) Successful in 6m9s
Pre-commit hooks / Pre-commit (pull_request) Successful in 8m56s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m35s
Tests and linters / Tests (1.22) (pull_request) Successful in 9m47s
Tests and linters / Tests with -race (pull_request) Successful in 9m58s
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
18 lines
300 B
Text
18 lines
300 B
Text
FROM golang:1.22 AS builder
|
|
ARG BUILD=now
|
|
ARG VERSION=dev
|
|
ARG REPO=repository
|
|
WORKDIR /src
|
|
COPY . /src
|
|
|
|
RUN make bin/frostfs-node
|
|
|
|
# Executable image
|
|
FROM alpine AS frostfs-node
|
|
RUN apk add --no-cache bash
|
|
|
|
WORKDIR /
|
|
|
|
COPY --from=builder /src/bin/frostfs-node /bin/frostfs-node
|
|
|
|
CMD ["frostfs-node"]
|