Added compilation of xnbd-client since there's no such package on archlinux. #1

This commit is contained in:
Sebastien Rannou 2014-12-18 19:17:21 +01:00
parent deb9a1aad1
commit 6a04a73c4f
1 changed files with 16 additions and 0 deletions

View File

@ -30,6 +30,22 @@ RUN sed -e s/^\#en_US.UTF-8/en_US.UTF-8/ -i /etc/locale.gen \
&& locale-gen && locale-gen
# xnbd-client
RUN mkdir /tmp/build-xnbd \
&& cd /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 \
&& cd /tmp/build-xnbd/xnbd-* \
&& ./configure --prefix=/usr/local \
&& make -j4 \
&& make install \
&& pacman -Rs gcc glib2 automake pkg-config make \
&& cd / \
&& rm -rf /tmp/build-xnbd /tmp/xnbd.tar.bz2
# Systemd # Systemd
RUN systemctl enable sshd.service \ RUN systemctl enable sshd.service \
&& systemctl disable getty@tty1.service \ && systemctl disable getty@tty1.service \