blob: bc45341ba8f8fcc10edd4bd96d39dc4f988a35ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM fedora:latest
ARG CONFIGURE_OPTS="--enable-seccomp"
RUN dnf install -y perl automake autoconf libseccomp-devel libevent-devel gcc make git
RUN useradd -ms /bin/bash memcached
ADD . /src
WORKDIR /src
RUN aclocal && autoheader && automake --foreign --add-missing && autoconf
RUN ./configure ${CONFIGURE_OPTS}
RUN make -j
USER memcached
CMD make test
|