add rt-tests and unixbench;

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-06 14:36:05 -05:00
parent 15bb6cb391
commit 9d2b9af509
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 35 additions and 0 deletions

9
rt-tests/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM debian:buster
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt-get update && apt-get install -y \
rt-tests \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
CMD [ "hackbench" ]

26
unixbench/Dockerfile Normal file
View File

@ -0,0 +1,26 @@
FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
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" ]