systemtap/Dockerfile
Tomas Tomecek 12bbcedf57 initial content
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-09-12 16:25:10 +02:00

18 lines
712 B
Docker

FROM registry.fedoraproject.org/fedora:26
LABEL maintainer "Tomas Tomecek \"ttomecek@redhat.com\""
ENV NAME=systemtap VERSION=0 RELEASE=1 ARCH=x86_64
LABEL com.redhat.component="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
release="$RELEASE.$DISTTAG" \
architecture="$ARCH" \
run="docker run --cap-add SYS_MODULE -v /sys/kernel/debug:/sys/kernel/debug -v /usr/src/kernels:/usr/src/kernels -v /usr/lib/modules/:/usr/lib/modules/ -v /usr/lib/debug:/usr/lib/debug -t -i --name NAME IMAGE" \
summary="programmable system-wide instrumentation system"
RUN dnf install -y systemtap-testsuite systemtap systemtap-client && \
dnf clean all
COPY ./root /
CMD ["/bin/bash"]