From 3d6172bb91c5dd28dec3120ece6c9ad3604f8cb9 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Wed, 11 Feb 2015 13:45:03 +0000 Subject: [PATCH] Added bc and shunit2 dependencies (online-labs/image-tools#9) --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9a533ef..3c84dd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,13 @@ ENV OCS_BASE_IMAGE armbuild/ocs-archlinux:2014-12-02 # Install packages RUN pacman -Sy --noconfirm \ bash-completion \ + bc \ + binutils \ cronie \ curl \ dhcpcd \ dnsutils \ + fakeroot \ file \ htop \ iptables \ @@ -38,6 +41,16 @@ RUN pacman -Sy --noconfirm \ wget +# shunit2 +RUN mkdir -p /tmp/shunit2 \ + && chown nobody /tmp/shunit2 \ + && cd /tmp/shunit2 \ + && wget https://aur.archlinux.org/packages/sh/shunit2/PKGBUILD \ + && sudo -u nobody makepkg --nocheck ./PKGBUILD \ + && pacman -U --noconfirm shunit2-*-any.pkg.tar.xz \ + && rm -rf /tmp/shunit2 + + # xnbd-client RUN mkdir /tmp/build-xnbd \ && cd /tmp/build-xnbd \