2015-09-27 10:43:52 +02:00
|
|
|
FROM nfnty/arch-mini
|
|
|
|
|
2016-05-27 15:46:25 +02:00
|
|
|
RUN echo -e "[archlinuxfr]\nSigLevel = Never\nServer = http://repo.archlinux.fr/\$arch" >> /etc/pacman.conf
|
|
|
|
RUN sed -i '/#\[multilib\]/,/#Include = \/etc\/pacman.d\/mirrorlist/ s/#//' /etc/pacman.conf
|
2015-09-27 10:43:52 +02:00
|
|
|
RUN pacman -Syyu --noconfirm
|
2016-05-27 15:46:25 +02:00
|
|
|
RUN pacman -S --noconfirm git curl jshon expac yajl wget unzip cmake && pacman -Sc
|
|
|
|
RUN yes | pacman -S gcc-multilib gcc-libs-multilib && pacman -Sc
|
|
|
|
RUN pacman -S --noconfirm --needed make pkg-config patch yaourt grep file sudo gawk fakeroot gzip m4 which util-linux && pacman -Sc
|
2015-09-27 10:43:52 +02:00
|
|
|
|
|
|
|
RUN useradd -mg root travis
|
|
|
|
RUN usermod -aG wheel travis
|
|
|
|
RUN sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers
|
|
|
|
|
2016-10-02 11:35:08 +02:00
|
|
|
# sdl2_ttf (x86_64) is needed to satisfy compile-time dependencies, even if we don't use it
|
2016-12-14 13:20:37 +01:00
|
|
|
RUN pacman -S --noconfirm lib32-curl lib32-sdl2 lib32-speex lib32-fontconfig lib32-openssl lib32-libpng sdl2_ttf && pacman -Sc
|
2015-09-27 10:43:52 +02:00
|
|
|
USER travis
|
2016-12-14 13:20:37 +01:00
|
|
|
RUN yaourt -S --noconfirm lib32-jansson lib32-sdl2_ttf lib32-libzip1 && rm -rf /tmp/yaourt-tmp-travis && sudo pacman -Sc
|