From 2bf8a1c8e25c389a56417c7f4b3b4a435f786e4d Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Wed, 12 Oct 2016 20:43:15 +0200 Subject: [PATCH] build debian package for armhf ubuntu-xenial Signed-off-by: Felix Ruess Upstream-commit: 015e83a8da3ccf9f208f92d5d66e5dd159f75ad7 Component: engine --- .../builder/deb/armhf/ubuntu-xenial/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 components/engine/contrib/builder/deb/armhf/ubuntu-xenial/Dockerfile diff --git a/components/engine/contrib/builder/deb/armhf/ubuntu-xenial/Dockerfile b/components/engine/contrib/builder/deb/armhf/ubuntu-xenial/Dockerfile new file mode 100644 index 0000000000..c0fadf1277 --- /dev/null +++ b/components/engine/contrib/builder/deb/armhf/ubuntu-xenial/Dockerfile @@ -0,0 +1,12 @@ +FROM armhf/ubuntu:xenial + +RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev libsystemd-dev pkg-config vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/* + +ENV GO_VERSION 1.7.3 +RUN curl -fSL "https://golang.org/dl/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 pkcs11 seccomp selinux +ENV RUNC_BUILDTAGS apparmor seccomp selinux