Update 'Dockerfile'
go-rpi-ws2811-lib/pipeline/head Something is wrong with the build of this commit Details

main
nathan 2 years ago
parent 84f57dc43e
commit 34134e43a7

@ -6,7 +6,7 @@ RUN apt-get update -y && apt-get install -y \
build-essential \
cmake \
git
RUN apk add git make g++
RUN git clone https://github.com/jgarff/rpi_ws281x.git \
&& cd rpi_ws281x \
&& mkdir build \
@ -17,7 +17,7 @@ RUN git clone https://github.com/jgarff/rpi_ws281x.git \
# Stage 1 : Build a go image with the rpi_ws281x C library and the go wrapper
FROM golang:latest
FROM golang:alpine
COPY --from=lib_builder /usr/local/lib/libws2811.a /usr/local/lib/
COPY --from=lib_builder /usr/local/include/ws2811 /usr/local/include/ws2811

Loading…
Cancel
Save