Update 'Dockerfile'
go-rpi-ws2811-lib/pipeline/head There was a failure building this commit Details

main
nathan 2 years ago
parent 6d9d587cb0
commit a317216adc

@ -16,7 +16,7 @@ RUN git clone https://github.com/jgarff/rpi_ws281x.git \
FROM golang:alpine FROM golang:alpine
COPY --from=lib_builder /usr/local/lib/libws2811.a /usr/local/lib/ COPY --from=lib_builder /usr/local/lib/libws2811.a /usr/local/lib/
COPY --from=lib_builder /usr/local/include/ws2811 /usr/local/include/ws2811 COPY --from=lib_builder /usr/local/include/ws2811 /usr/local/include/ws2811
RUN apk add git make linux-hearers cmake g++
WORKDIR /go/src/github.com/rpi-ws281x/rpi-ws281x-go WORKDIR /go/src/github.com/rpi-ws281x/rpi-ws281x-go
COPY . . COPY . .
RUN GO111MODULE=off go get -d -v ./... RUN GO111MODULE=off go get -d -v ./...

Loading…
Cancel
Save