summaryrefslogtreecommitdiff
path: root/Dockerfile.build.arm
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.build.arm')
-rw-r--r--Dockerfile.build.arm18
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile.build.arm b/Dockerfile.build.arm
new file mode 100644
index 0000000..c667b37
--- /dev/null
+++ b/Dockerfile.build.arm
@@ -0,0 +1,18 @@
+FROM resin/raspberrypi3-golang:1.9
+
+# Enable QEMU emulation
+ENTRYPOINT [ "qemu-arm-static", "-execve" ]
+SHELL [ "qemu-arm-static", "-execve", "/bin/sh", "-c" ]
+
+RUN apt-get update \
+ && apt-get install -y \
+ btrfs-tools \
+ libapparmor-dev \
+ libdevmapper-dev \
+ libnl-3-dev \
+ libsystemd-dev \
+ libsystemd-journal-dev
+
+COPY . /docker
+
+WORKDIR /docker