summaryrefslogtreecommitdiff
path: root/devtools/Dockerfile.arch
blob: e5e6c5535e5e45b8b5984a94955af27867700577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM archlinux/base:latest

ARG CONFIGURE_OPTS="--enable-seccomp"

RUN pacman -Sy && pacman --noconfirm -S gcc automake autoconf libevent libseccomp git make perl
RUN ln -s /usr/bin/core_perl/prove /usr/bin/prove

ADD . /src
WORKDIR /src

RUN aclocal
RUN autoheader
RUN automake --gnu --add-missing
RUN autoconf

RUN ./configure ${CONFIGURE_OPTS}
RUN make -j

CMD make test