2024-07-31 18:52:49 +02:00
|
|
|
FROM golang:alpine AS builder
|
|
|
|
|
|
|
|
WORKDIR /go/src/git.zio.sh/gearheads/webfinger
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN apk update && \
|
|
|
|
go get -d -v ./... && \
|
|
|
|
go install
|
|
|
|
|
|
|
|
FROM alpine:latest
|
|
|
|
|
2024-07-31 18:58:11 +02:00
|
|
|
COPY --from=builder /go/bin/gearheads-webfinger /usr/local/bin/webfinger
|
2024-07-31 18:52:49 +02:00
|
|
|
|
|
|
|
CMD ["webfinger"]
|