14 lines
253 B
Plaintext
14 lines
253 B
Plaintext
|
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
|
||
|
|
||
|
COPY --from=builder /go/bin/webfinger /usr/local/bin/webfinger
|
||
|
|
||
|
CMD ["webfinger"]
|