Update 'Dockerfile'
Some checks failed
rgbarmlib64/pipeline/head There was a failure building this commit
Some checks failed
rgbarmlib64/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user