From 9680fb2b167799e5f2c768f324d46c92dfec0c4a Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 29 Aug 2023 11:54:49 -0400 Subject: [PATCH] chore: dockerfile Signed-off-by: Chris Gianelloni --- .dockerignore | 7 +++++++ Dockerfile | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..303e605 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +.git/ +.github/ +assets/ +Dockerfile +.dockerignore +bursa +README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8857c44 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM ghcr.io/blinklabs-io/go:1.19.12-1 AS build + +WORKDIR /code +COPY . . +RUN make build + +FROM cgr.dev/chainguard/glibc-dynamic AS bursa +COPY --from=build /code/bursa /bin/ +ENTRYPOINT ["bursa"]