Add Containerfile
parent
7fc3740f3f
commit
7ad26b1fe1
|
@ -0,0 +1,14 @@
|
|||
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"]
|
Loading…
Reference in New Issue