- docker
before_install:
- docker info
+ - docker run --rm --privileged multiarch/qemu-user-static:register --reset
install:
- - docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") -t $DOCKER_REPO:$TRAVIS_BRANCH extra
- - docker run --rm $DOCKER_REPO:$TRAVIS_BRANCH uname -a
+ - docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") -t $DOCKER_REPO:$TRAVIS_BRANCH-$TARGET -f extra/Dockerfile${EXT} extra
+ - docker run --rm $DOCKER_REPO:$TRAVIS_BRANCH-$TARGET uname -a
after_success:
- docker login -e=$DOCKER_EMAIL -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD
- - docker push $DOCKER_REPO:$TRAVIS_BRANCH
+ - docker push $DOCKER_REPO:$TRAVIS_BRANCH-$TARGET
env:
- # DOCKER_REPO
+ # global:
+ # DOCKER_REPO
+ # DOCKER_USERNAME
+ # DOCKER_PASSWORD
+ # DOCKER_EMAIL
+ matrix:
+ - TARGET=amd64 EXT=""
+ - TARGET=armhf EXT=".armv7-armhf"
+matrix:
+ fast_finish: true
-FROM armv7/armhf-ubuntu:15.04
+FROM multiarch/ubuntu-debootstrap:armhf-vivid
MAINTAINER Conor Heine <conor.heine@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
ENV LC_TYPE en_US.UTF-8
ENV TZ America/Los_Angeles
+ADD sources.list /etc/apt/
+
RUN apt-get update && \
apt-get --yes install \
automake \
# Video & images
VOLUME /var/lib/motioneye
-ADD extra /usr/share/motioneye/extra/
+ADD motioneye.conf.sample /usr/share/motioneye/extra/
CMD test -e /etc/motioneye/motioneye.conf || \
cp /usr/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf ; \
--- /dev/null
+# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
+# newer versions of the distribution.
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted
+
+## Major bug fix updates produced after the final release of the
+## distribution.
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted
+
+## Uncomment the following two lines to add software from the 'universe'
+## repository.
+## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
+## team. Also, please note that software in universe WILL NOT receive any
+## review or updates from the Ubuntu security team.
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid universe
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-updates universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-updates universe
+
+## N.B. software from this repository may not have been tested as
+## extensively as that contained in the main release, although it includes
+## newer versions of some applications which may provide useful features.
+## Also, please note that software in backports WILL NOT receive any review
+## or updates from the Ubuntu security team.
+# deb http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+# deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security universe
+# deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security multiverse
+# deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security multiverse