Merge pull request #22152 from flixr/armhf-ubuntu-trusty-deb

build armhf deb for ubuntu-trusty
This commit is contained in:
Brian Goff 2016-06-12 16:27:54 -04:00 committed by GitHub
commit aaef5297bf
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
FROM armhf/ubuntu:trusty
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
ENV GO_VERSION 1.6.2
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
ENV DOCKER_BUILDTAGS apparmor selinux