-
-
Notifications
You must be signed in to change notification settings - Fork 377
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (14 loc) · 672 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (14 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM debian:13 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
COPY . 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:13
COPY --from=build stress-ng/install-root/ /
ENTRYPOINT ["/usr/bin/stress-ng"]
CMD ["--help"]