forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile - allow override of config opts
- Loading branch information
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
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 | ||
|
||
ADD . /src | ||
WORKDIR /src | ||
|
||
RUN ./autogen.sh | ||
RUN ./configure --enable-seccomp | ||
RUN ./configure ${CONFIGURE_OPTS} | ||
RUN make -j | ||
|
||
CMD make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM fedora:latest | ||
|
||
ARG CONFIGURE_OPTS="--enable-seccomp" | ||
|
||
RUN dnf install -y perl automake autoconf libseccomp-devel libevent-devel gcc make git | ||
|
||
ADD . /src | ||
WORKDIR /src | ||
|
||
RUN aclocal && autoheader && automake --foreign --add-missing && autoconf | ||
RUN ./configure --enable-seccomp | ||
RUN ./configure ${CONFIGURE_OPTS} | ||
RUN make -j | ||
|
||
CMD make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
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 | ||
|
||
ADD . /src | ||
WORKDIR /src | ||
|
||
RUN ./autogen.sh | ||
RUN ./configure --enable-seccomp | ||
RUN ./configure ${CONFIGURE_OPTS} | ||
RUN make -j | ||
|
||
CMD make test |