-
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.
Add alpine (musl-based) and ubuntu (glibc-based) descriptions for test images. To run the testapp in either of them, run: ``` docker-compose run alpine docker-compose run ubuntu ```
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM alpine:latest | ||
|
||
RUN apk update && apk add --no-cache musl-dev libevent-dev libseccomp-dev linux-headers gcc make automake autoconf | ||
|
||
ADD . /src | ||
WORKDIR /src | ||
|
||
RUN ./autogen.sh | ||
RUN ./configure --enable-seccomp | ||
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM archlinux/base:latest | ||
|
||
RUN pacman -Sy && pacman --noconfirm -S gcc automake autoconf libevent libseccomp git make perl | ||
RUN ln -s /usr/bin/core_perl/prove /usr/bin/prove | ||
|
||
ADD . /src | ||
WORKDIR /src | ||
|
||
RUN aclocal | ||
RUN autoheader | ||
RUN automake --gnu --add-missing | ||
RUN autoconf | ||
|
||
RUN ./configure --enable-seccomp | ||
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM ubuntu:latest | ||
|
||
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 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3' | ||
services: | ||
alpine: | ||
build: | ||
context: . | ||
dockerfile: devtools/Dockerfile.alpine | ||
ubuntu: | ||
build: | ||
context: . | ||
dockerfile: devtools/Dockerfile.ubuntu | ||
arch: | ||
build: | ||
context: . | ||
dockerfile: devtools/Dockerfile.arch |