17 lines
442 B
Plaintext
17 lines
442 B
Plaintext
ARG \
|
|
BUILD_FROM \
|
|
BUILD_VERSION
|
|
|
|
FROM $BUILD_FROM:$BUILD_VERSION
|
|
|
|
RUN apk --no-cache add \
|
|
raspberrypi \
|
|
raspberrypi-libs
|
|
|
|
##
|
|
# Set symlinks for raspberry pi binaries.
|
|
RUN ln -sv /opt/vc/bin/raspistill /usr/local/bin/raspistill \
|
|
&& ln -sv /opt/vc/bin/raspivid /usr/local/bin/raspivid \
|
|
&& ln -sv /opt/vc/bin/raspividyuv /usr/local/bin/raspividyuv \
|
|
&& ln -sv /opt/vc/bin/raspiyuv /usr/local/bin/raspiyuv
|