From cb929d7a28b928241f09c2ec6906c753de3f2820 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 15 Jan 2023 02:49:06 +0000 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 121877f..f957206 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM golang:1.18.3-buster as builder - +#FROM golang:1.18.3-buster as builder +FROM golang:alpine WORKDIR /usr/src/app COPY . . -RUN apt-get install -y git +#RUN apt-get install -y git +RUN apk add git RUN go mod tidy -e RUN go mod vendor WORKDIR /usr/src/app/vendor/rpi-rgb-led-matrix/