Skip to content

Commit

Permalink
fixup: build in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Sep 1, 2023
1 parent 4812e1d commit 841449b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
FROM golang:1.21-alpine AS builder

WORKDIR /src

COPY sync .
RUN go mod download
RUN go build -o sync

FROM busybox:1.36

COPY sync/bin/* .
COPY --from=builder /src/sync .
COPY flags/* .
COPY scripts/* .
LABEL org.opencontainers.image.source = "https://github.com/open-feature/test-harness"
Expand Down

0 comments on commit 841449b

Please sign in to comment.