blob: fa7ba126c9c53b9293f3b49b7e437ebf6bbfe05f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM alpine:latest
ARG CONFIGURE_OPTS="--enable-seccomp"
RUN apk update && apk add --no-cache musl-dev libevent-dev libseccomp-dev linux-headers gcc make automake autoconf perl-test-harness-utils git pkgconfig
RUN adduser -S memcached
ADD . /src
WORKDIR /src
RUN ./autogen.sh
RUN ./configure ${CONFIGURE_OPTS}
RUN make -j
USER memcached
CMD make test
|