From 9d2b9af509e19e1890c4e58e4c0a87562d6b51a9 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 6 Mar 2018 14:36:05 -0500 Subject: [PATCH] add rt-tests and unixbench; Signed-off-by: Jess Frazelle --- rt-tests/Dockerfile | 9 +++++++++ unixbench/Dockerfile | 26 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 rt-tests/Dockerfile create mode 100644 unixbench/Dockerfile diff --git a/rt-tests/Dockerfile b/rt-tests/Dockerfile new file mode 100644 index 0000000..d409102 --- /dev/null +++ b/rt-tests/Dockerfile @@ -0,0 +1,9 @@ +FROM debian:buster +LABEL maintainer "Jessie Frazelle " + +RUN apt-get update && apt-get install -y \ + rt-tests \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +CMD [ "hackbench" ] diff --git a/unixbench/Dockerfile b/unixbench/Dockerfile new file mode 100644 index 0000000..eecbe1c --- /dev/null +++ b/unixbench/Dockerfile @@ -0,0 +1,26 @@ +FROM alpine:latest +LABEL maintainer "Jessie Frazelle " + +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" ]