Add cross-build

This commit is contained in:
ViViDboarder 2017-08-23 10:48:35 -07:00
parent 13b480f66d
commit 59c972bc14

View File

@ -1,6 +1,8 @@
FROM resin/rpi-raspbian:jessie
MAINTAINER ViViDboarder <ViViDboarder@gmail.com>
RUN [ "cross-build-start" ]
# Instal Python dependencies
RUN echo 'deb-src http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware' >> /etc/apt/sources.list && \
apt-get update && apt-get install -y \
@ -46,6 +48,8 @@ VOLUME /etc/motioneye
RUN mkdir -p /var/lib/motioneye
VOLUME /var/lib/motioneye
RUN [ "cross-build-end" ]
EXPOSE 8765
# RUN useradd motioneye