From: John Kacur <jkacur@redhat.com>
To: Chris White <chwhite@redhat.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: [PATCH] rt-tests: Add interactive source-to-image Dockerfile
Date: Tue, 23 Jan 2024 15:35:59 -0500 (EST) [thread overview]
Message-ID: <66d90617-d862-3db6-a330-e260f65a4492@redhat.com> (raw)
In-Reply-To: <20231204225840.17042-1-chwhite@redhat.com>
On Mon, 4 Dec 2023, Chris White wrote:
> This Dockerfile sets up a base image for rt-tests, copies the code,
> and installs it, providing an interactive container for testing the
> various applications packaged.
>
> Signed-off-by: Chris White <chwhite@redhat.com>
> ---
> Dockerfile | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 Dockerfile
>
> diff --git a/Dockerfile b/Dockerfile
> new file mode 100644
> index 0000000..92f680e
> --- /dev/null
> +++ b/Dockerfile
> @@ -0,0 +1,26 @@
> +# Use CentOS Stream 9 as base image
> +FROM centos:stream9
> +
> +# Install required packages for RT-Tests
> +RUN dnf -y update && \
> + dnf install -y \
> + gcc \
> + make \
> + numactl-devel \
> + util-linux \
> + git && \
> + git clone https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git /opt/rt-tests && \
> + cd /opt/rt-tests && \
> + make && \
> + make install && \
> + dnf remove -y \
> + git \
> + make && \
> + dnf clean all
> +
> +
> +# Set the working directory to the RT-Tests directory
> +WORKDIR /opt/rt-tests
> +
> +# Set the entrypoint to a shell
> +ENTRYPOINT ["/bin/bash"]
> --
Signed-off-by: John Kacur <jkacur@redhat.com>
prev parent reply other threads:[~2024-01-23 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 22:58 [PATCH] rt-tests: Add interactive source-to-image Dockerfile Chris White
2024-01-23 20:35 ` John Kacur [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66d90617-d862-3db6-a330-e260f65a4492@redhat.com \
--to=jkacur@redhat.com \
--cc=chwhite@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).