aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Trahan <tom@shippable.com>2017-10-22 08:50:46 -0700
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-10-24 12:11:27 +0300
commit5329228e260d36de62c3edf3c1a3f08ab95fd558 (patch)
treefe3e0e68c9832e16f8d4ce9b03ecf9c5714221b6 /scripts
parent74d880d7e20ab4825868bd2013b164d4bc90eb45 (diff)
add sample shippable.yml and Dockerfile for Aarch64 builds
Signed-off-by: Tom Trahan <tom@shippable.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
new file mode 100644
index 000000000..995330fa0
--- /dev/null
+++ b/scripts/Dockerfile
@@ -0,0 +1,24 @@
+FROM drydockaarch64/u16:v5.10.1
+
+RUN if $(sudo update-alternatives --list gcc); \
+ then sudo update-alternatives --remove-all gcc; \
+ fi
+
+RUN sudo apt-get update && sudo apt-get install -yy \
+ autoconf \
+ automake \
+ ccache \
+ clang-3.8 \
+ gcc-4.8 \
+ graphviz \
+ kmod \
+ mscgen \
+ libcunit1-dev \
+ libpcap-dev \
+ libssl-dev \
+ libtool \
+ linux-headers-`uname -r` \
+ ruby-dev
+
+RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
+RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang