From 4af9a63e11942fb9151cbc2bcbe8968579f20e21 Mon Sep 17 00:00:00 2001 From: Emily McMullan Date: Tue, 29 Aug 2023 12:49:48 -0400 Subject: [PATCH] MacOS Dockerfile (#41) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3082d39..0717f9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,12 +25,14 @@ COPY cmd/ cmd/ # Build RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o kantra main.go +RUN CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -o darwin-kantra main.go FROM quay.io/konveyor/analyzer-lsp:latest RUN mkdir /opt/rulesets /opt/rulesets/input /opt/openrewrite /opt/input /opt/output /opt/xmlrules /opt/shimoutput COPY --from=builder /workspace/kantra /usr/local/bin/kantra +COPY --from=builder /workspace/darwin-kantra /usr/local/bin/darwin-kantra COPY --from=shim /usr/bin/windup-shim /usr/local/bin COPY --from=rulesets /rulesets/default/generated /opt/rulesets COPY --from=rulesets /windup-rulesets/rules/rules-reviewed/openrewrite /opt/openrewrite