Fix rpmqa osbs plugin to look in the right place for rpmdb
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
ff5a751fd3
commit
0aece5b63e
1 changed files with 2 additions and 1 deletions
|
@ -1,12 +1,13 @@
|
|||
FROM registry.fedoraproject.org/fedora:36
|
||||
RUN dnf -y install --refresh dnf-plugins-core && dnf -y install moby-engine git python3-setuptools e2fsprogs koji osbs-client\
|
||||
python3-osbs-client gssproxy fedpkg python3-docker-squash atomic-reactor python3-atomic-reactor* go-md2man python3-productmd\
|
||||
python3-osbs-client gssproxy fedpkg python3-docker-squash atomic-reactor python3-atomic-reactor* go-md2man python3-productmd sed\
|
||||
python3-gobject python3-libmodulemd python3-pdc-client ostree flatpak-module-tools flatpak skopeo && dnf clean all
|
||||
ADD ./orchestrator_customize.json /usr/share/osbs/orchestrator_customize.json
|
||||
ADD ./worker_customize.json /usr/share/osbs/worker_customize.json
|
||||
ADD ./krb5.conf /etc
|
||||
RUN printf '[libdefaults]\n default_ccache_name = DIR:/tmp/ccache_%%{uid}' >/etc/krb5.conf.d/ccache.conf
|
||||
ADD ./krb5.osbs_{{osbs_url}}.keytab /etc/
|
||||
RUN sed -i -e 's|/var/lib/rpm|/usr/lib/sysimage/rpm|' /usr/lib/python*/site-packages/atomic_reactor/plugins/post_rpmqa.py
|
||||
ADD ./ca.crt /etc/pki/ca-trust/source/anchors/osbs.ca.crt
|
||||
RUN update-ca-trust
|
||||
CMD ["python3", "/usr/bin/atomic-reactor", "--verbose", "inside-build"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue