mirror of
https://github.com/ViViDboarder/docker-rpi-motioneye.git
synced 2024-11-22 02:56:27 +00:00
Add cross-build
This commit is contained in:
parent
13b480f66d
commit
59c972bc14
@ -1,6 +1,8 @@
|
|||||||
FROM resin/rpi-raspbian:jessie
|
FROM resin/rpi-raspbian:jessie
|
||||||
MAINTAINER ViViDboarder <ViViDboarder@gmail.com>
|
MAINTAINER ViViDboarder <ViViDboarder@gmail.com>
|
||||||
|
|
||||||
|
RUN [ "cross-build-start" ]
|
||||||
|
|
||||||
# Instal Python dependencies
|
# Instal Python dependencies
|
||||||
RUN echo 'deb-src http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware' >> /etc/apt/sources.list && \
|
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 \
|
apt-get update && apt-get install -y \
|
||||||
@ -46,6 +48,8 @@ VOLUME /etc/motioneye
|
|||||||
RUN mkdir -p /var/lib/motioneye
|
RUN mkdir -p /var/lib/motioneye
|
||||||
VOLUME /var/lib/motioneye
|
VOLUME /var/lib/motioneye
|
||||||
|
|
||||||
|
RUN [ "cross-build-end" ]
|
||||||
|
|
||||||
EXPOSE 8765
|
EXPOSE 8765
|
||||||
|
|
||||||
# RUN useradd motioneye
|
# RUN useradd motioneye
|
||||||
|
Loading…
Reference in New Issue
Block a user