diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a781a56 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +ARG GO_VERSION=1.20.1 +FROM golang:${GO_VERSION} AS builder +WORKDIR /go/src/github.com/moadqasem/kubetink +COPY . . +RUN make all + +FROM alpine:3.16 + +COPY --from=builder \ + /go/src/github.com/moadqasem/kubetink/_build/tinkerbell \ + /usr/local/bin/ + +USER nobody