Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
477 B · 21 lines
at next-dev
12345678910111213141516171819202122FROM golang:1.26-alpine AS builder
ENV CGO_ENABLED=0ENV GOCACHE=/go/cacheENV GOMODCACHE=/go/mod
WORKDIR /src
COPY go.mod go.sum ./RUN --mount=type=cache,target=/go/cache \ --mount=type=cache,target=/go/mod \ go mod download
COPY . .RUN --mount=type=cache,target=/go/cache \ --mount=type=cache,target=/go/mod \ go build -o /out/seed ./localinfra/cmd/seed
FROM alpine:3.22RUN apk add --no-cache curl jqCOPY --from=builder /out/seed /usr/local/bin/seed