From a3717c2494ca6794034f286b468b5a7e4de5f7c2 Mon Sep 17 00:00:00 2001 From: Stephen Paulger Date: Thu, 4 Apr 2024 15:43:16 +0100 Subject: [PATCH] Add alternate minimal Dockerfile --- Dockerfile.minimal | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile.minimal diff --git a/Dockerfile.minimal b/Dockerfile.minimal new file mode 100644 index 00000000..5b93e5f7 --- /dev/null +++ b/Dockerfile.minimal @@ -0,0 +1,13 @@ +FROM golang:1.21.6 as builder +ENV GOPATH="/go" +WORKDIR /go/src/github.com/kovetskiy/mark +COPY / . +RUN make get \ +&& make build + + +FROM alpine:3.19.1 + +COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/ + +ENTRYPOINT [""]