forked from fengguang/lkp-tests
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #415 Signed-off-by: Seow, Wen Jie <[email protected]> Co-authored-by: Wei Shan <[email protected]>
- Loading branch information
Showing
9 changed files
with
47 additions
and
4 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 @@ | ||
centos |
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
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 @@ | ||
centos |
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 @@ | ||
centos-9 |
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 @@ | ||
centos |
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,27 @@ | ||
# base image can be fedora:38, fedora:39 and etc | ||
ARG base_image | ||
FROM ${base_image} | ||
|
||
# lkp install generates hosts/$HOSTNAME during create_host_config. Here it requires | ||
# user to pass hostname arg to specify a consistent name instead of the container | ||
# hostname when building the image. | ||
ARG hostname=lkp-docker | ||
ENV HOSTNAME=${hostname} | ||
|
||
WORKDIR /lkp/lkp-tests | ||
|
||
COPY . ./ | ||
|
||
RUN dnf upgrade -y && \ | ||
dnf install -y \ | ||
# kernel-tools installs turbostat | ||
kernel-tools \ | ||
make \ | ||
# procps installs vmstat, sysctl, etc to partially persistent commonly used dependencies | ||
procps \ | ||
perf \ | ||
hostname && \ | ||
make install && \ | ||
lkp install | ||
|
||
ENTRYPOINT ["bash", "-c", "sleep infinity"] |
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
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
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