Fixed build of the image (don't ask for confirmation in pacman). #1

This commit is contained in:
Sebastien Rannou 2014-12-19 11:58:01 +01:00
parent 35bc5bab72
commit 946b35c26c
1 changed files with 2 additions and 2 deletions

View File

@ -36,12 +36,12 @@ RUN mkdir /tmp/build-xnbd \
&& wget https://bitbucket.org/hirofuchi/xnbd/downloads/xnbd-0.3.0.tar.bz2 -O xnbd.tar.bz2 \
&& tar -xf xnbd.tar.bz2 \
&& cd xnbd-* \
&& pacman -Sy gcc glib2 automake pkg-config make \
&& pacman -Sy --noconfirm gcc automake pkg-config make \
&& cd /tmp/build-xnbd/xnbd-* \
&& ./configure --prefix=/usr/local \
&& make -j4 \
&& make install \
&& pacman -Rs gcc glib2 automake pkg-config make \
&& pacman -R --noconfirm gcc automake pkg-config make \
&& cd / \
&& rm -rf /tmp/build-xnbd /tmp/xnbd.tar.bz2