FROM golang:1.18.3-buster WORKDIR /usr/src/app COPY . . RUN apt-get install -y git WORKDIR /usr/src/app/vendor/rpi-rgb-led-matrix/ RUN git submodule update --init RUN make WORKDIR /usr/src/app RUN go install -v ./...