-
-
Notifications
You must be signed in to change notification settings - Fork 362
Expand file tree
/
Copy pathDockerfile
More file actions
16 lines (9 loc) · 661 Bytes
/
Dockerfile
File metadata and controls
16 lines (9 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM debian:12 AS build
RUN apt-get update && apt-get install -y build-essential libacl1-dev zlib1g-dev libbsd-dev libeigen3-dev libcrypt-dev libjpeg-dev libmpfr-dev libgmp-dev libkeyutils-dev libapparmor-dev apparmor libaio-dev libcap-dev libsctp-dev libjudy-dev libatomic1 libxxhash-dev
ADD . stress-ng
RUN cd stress-ng && mkdir install-root && rm -rf configs config.h && VERBOSE=1 make -f Makefile.config -j $(nproc) && VERBOSE=1 STATIC=1 make -j $(nproc) && strip stress-ng && make DESTDIR=install-root/ install
####### actual image ########
FROM debian:12
COPY --from=build stress-ng/install-root/ /
ENTRYPOINT ["/usr/bin/stress-ng"]
CMD ["--help"]