-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fedora-37 image for running pipelines with pre-installed dependencies. Signed-off-by: Albert Esteve <aesteve@redhat.com>
- Loading branch information
1 parent
198c7df
commit 2b6fee1
Showing
4 changed files
with
55 additions
and
15 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
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,14 @@ | ||
|
||
targets := fedora-36 | ||
|
||
.PHONY: $(targets) push | ||
|
||
all: $(targets) | ||
|
||
$(targets): | ||
podman build -t ovirt-stress-test-$@ -f $@.containerfile . | ||
|
||
push: | ||
for name in $(targets); do \ | ||
podman push ovirt-stress-test-$$name quay.io/alesgar/ovirt-stress-test-$$name; \ | ||
done |
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,35 @@ | ||
FROM registry.fedoraproject.org/fedora:36 | ||
|
||
# Runtime packages. | ||
RUN echo v1 \ | ||
&& dnf install -y dnf-plugins-core \ | ||
&& dnf install -y \ | ||
createrepo_c \ | ||
e2fsprogs \ | ||
gcc \ | ||
git \ | ||
libcurl-devel \ | ||
libguestfs-tools-c \ | ||
libxml2-devel \ | ||
make \ | ||
openssl \ | ||
openssl-devel \ | ||
python3-devel \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-systemd \ | ||
qemu-img \ | ||
qemu-kvm \ | ||
rpm-build \ | ||
sudo \ | ||
systemd-udev \ | ||
util-linux \ | ||
xfsprogs \ | ||
&& depmod $(basename /lib/modules/*) \ | ||
&& dnf clean all | ||
|
||
# Developemnt tools. | ||
COPY requirements.txt requirements.txt | ||
RUN python3 -m pip install --upgrade pip \ | ||
&& python3 -m pip install pylint \ | ||
&& python3 -m pip install --requirement requirements.txt |
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,2 @@ | ||
ovirt-imageio | ||
ovirt-engine-sdk-python |