forked from dsx-ai-factory/topograph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (14 loc) · 805 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (14 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Base images are pinned by digest; Dependabot's docker ecosystem
# (.github/dependabot.yml) keeps the tag and digest pairs current.
FROM golang:1.27.1@sha256:f44f6e88636cfb311f9ebace870ded69d943f227bb3cb27d32ffd84ea18c43ea AS builder
WORKDIR /go/src/github.com/dsx-ai-factory/topograph
COPY . .
ARG TARGETOS
ARG TARGETARCH
RUN make build-${TARGETOS}-${TARGETARCH}
FROM alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
RUN apk add --no-cache rdma-core
COPY --from=builder /go/src/github.com/dsx-ai-factory/topograph/bin/* /usr/local/bin/
LABEL org.opencontainers.image.documentation="https://github.com/dsx-ai-factory/topograph/blob/main/docs/overview.md" \
org.opencontainers.image.authors="NVIDIA CORPORATION" \
org.opencontainers.image.vendor="NVIDIA"