From a9bdf22e5760f5d35ce8133ed68bb199a8651a72 Mon Sep 17 00:00:00 2001 From: nathan wagner Date: Fri, 8 Jul 2022 16:07:11 -0400 Subject: [PATCH] just pushing --- Dockerfile | 10 ++++++++++ builder | 1 + go.mod | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 Dockerfile create mode 100644 builder create mode 100644 go.mod diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4648366 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM golang:1.18.3-buster + +WORKDIR /usr/src/app +COPY . . +RUN apt-get install -y git +WORKDIR /usr/src/app/vendor/rpi-rgb-led-matrix/ +RUN git submodule update --init +RUN make +WORKDIR /usr/src/app +RUN go install -v ./... diff --git a/builder b/builder new file mode 100644 index 0000000..605a61d --- /dev/null +++ b/builder @@ -0,0 +1 @@ + docker buildx build --platform linux/arm64 . diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..09c0fb2 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module gitea.wagshome.duckdns.org/publicWagsHome/go-rpi-rgb-led-matrix.git + +go 1.17