Skip to content

Commit

Permalink
add rt-tests and unixbench;
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Mar 6, 2018
1 parent 15bb6cb commit 9d2b9af
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rt-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM debian:buster
LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apt-get update && apt-get install -y \
rt-tests \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

CMD [ "hackbench" ]
26 changes: 26 additions & 0 deletions unixbench/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM alpine:latest
LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apk add --no-cache \
bash \
coreutils \
dateutils \
gcc \
make \
musl-dev \
perl

ENV UNIXBENCH_VERSION v5.1.3

RUN set -x \
&& apk add --no-cache --virtual .build-deps \
ca-certificates \
curl \
&& mkdir -p /usr/src/unixbench \
&& curl -sSL "https://github.com/kdlucas/byte-unixbench/archive/${UNIXBENCH_VERSION}.tar.gz" | tar -xzC /usr/src/unixbench --strip-components 2 \
&& chmod +x /usr/src/unixbench/Run \
&& apk del .build-deps

WORKDIR /usr/src/unixbench

ENTRYPOINT [ "/usr/src/unixbench/Run" ]

0 comments on commit 9d2b9af

Please sign in to comment.