just pushing

This commit is contained in:
nathan wagner
2022-07-08 16:07:11 -04:00
parent b26063b316
commit a9bdf22e57
3 changed files with 14 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -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 ./...

1
builder Normal file
View File

@@ -0,0 +1 @@
docker buildx build --platform linux/arm64 .

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module gitea.wagshome.duckdns.org/publicWagsHome/go-rpi-rgb-led-matrix.git
go 1.17