From 0b476a1bc64a63e96082b7838dd890983df4f4e1 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Mon, 20 Aug 2018 08:46:25 +0200 Subject: [PATCH] Switch osbs atomic-reactor prod to python3 Signed-off-by: Clement Verna --- files/osbs/buildroot-Dockerfile-production.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/osbs/buildroot-Dockerfile-production.j2 b/files/osbs/buildroot-Dockerfile-production.j2 index b577681fc4..135e4a5581 100644 --- a/files/osbs/buildroot-Dockerfile-production.j2 +++ b/files/osbs/buildroot-Dockerfile-production.j2 @@ -1,8 +1,8 @@ FROM registry.fedoraproject.org/fedora ADD ./infra-tags.repo /etc/yum.repos.d/infra-tags.repo -RUN dnf -y install --refresh dnf-plugins-core && dnf -y install docker git python-setuptools e2fsprogs koji python-backports-lzma osbs-client\ - python-osbs-client gssproxy fedpkg python-docker-squash atomic-reactor python-atomic-reactor* go-md2man python2-productmd python3-productmd\ - libmodulemd python2-gobject python3-gobject python2-modulemd python3-modulemd python2-pdc-client python3-pdc-client ostree flatpak skopeo +RUN dnf -y install --refresh dnf-plugins-core && dnf -y install docker git python3-setuptools e2fsprogs koji osbs-client\ + python3-osbs-client gssproxy fedpkg python3-docker-squash atomic-reactor python3-atomic-reactor* go-md2man python3-productmd\ + libmodulemd python3-gobject python3-modulemd python3-pdc-client ostree 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 @@ -10,4 +10,4 @@ RUN printf '[libdefaults]\n default_ccache_name = DIR:/tmp/ccache_%%{uid}' >/etc ADD ./krb5.osbs_{{osbs_url}}.keytab /etc/ ADD ./ca.crt /etc/pki/ca-trust/source/anchors/osbs.ca.crt RUN update-ca-trust -CMD ["python2", "/usr/bin/atomic-reactor", "--verbose", "inside-build"] \ No newline at end of file +CMD ["python3", "/usr/bin/atomic-reactor", "--verbose", "inside-build"]