1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
FROM archlinux:base
# Fix from https://www.reddit.com/r/archlinux/comments/lek2ba/arch_linux_on_docker_ci_could_not_find_or_read/
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
bsdtar -C / -xvf "$patched_glibc"
RUN pacman -Syu --noconfirm --needed \
cairo \
cmake \
docbook2x \
git \
glib2 \
imlib2 \
iw \
libical \
libircclient \
libmicrohttpd \
libpulse \
librsvg \
libxdamage \
libxext \
libxft \
libxinerama \
libxnvctrl \
lua \
make \
man-db \
mariadb-libs \
patch \
pkg-config \
wireless_tools \
&& git clone https://github.com/linux-test-project/lcov.git \
&& cd lcov \
&& make install \
&& cd .. \
&& rm -rf lcov
|