From 7416dda460ba9e0a6954c1f5f2f78c74d44fb134 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Fri, 15 Dec 2023 11:34:05 -0300 Subject: [PATCH] add dockerfile --- .github/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/Dockerfile diff --git a/.github/Dockerfile b/.github/Dockerfile new file mode 100644 index 0000000..f43b691 --- /dev/null +++ b/.github/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:12-slim + +RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* + +ARG TARGETARCH +COPY binaries/Linux-GNU-${TARGETARCH}-scrolls /bin/scrolls +RUN chmod +x /bin/scrolls +RUN ln -s /bin/scrolls /scrolls + +ENTRYPOINT ["scrolls"] \ No newline at end of file