forked from jessfraz/dockerfiles
-
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.
Signed-off-by: Jess Frazelle <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 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,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" ] |
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,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" ] |