summaryrefslogtreecommitdiff
path: root/devtools/Dockerfile.arch
blob: e70b620b768d8b911ed8ecb1529ac7ee5a9dbd36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

RUN useradd -ms /bin/bash memcached
ADD . /src
WORKDIR /src

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

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

USER memcached

CMD make test