This commit is contained in:
@@ -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++
|
RUN apk add git make linux-headers 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 ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user