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