summaryrefslogtreecommitdiff
path: root/devtools/Dockerfile.ubuntu
blob: b30fe277347a29e09786a8dbeb646dd3f5278f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:latest

ARG CONFIGURE_OPTS="--enable-seccomp"

RUN apt-get update && apt-get install -y build-essential automake1.11 autoconf libevent-dev libseccomp-dev git pkg-config

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

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

USER memcached

CMD make test