add copr to osbs buildroot for testing in staging env
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
ad7e89491b
commit
f9e594ea60
3 changed files with 8 additions and 1 deletions
7
files/osbs/buildroot-Dockerfile-staging
Normal file
7
files/osbs/buildroot-Dockerfile-staging
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM fedora:latest
|
||||||
|
RUN dnf copr enable maxamillion/atomic-reactor && dnf makecache --refresh && dnf -y install docker git python-docker-py python-setuptools e2fsprogs koji python-backports-lzma osbs-client gssproxy fedpkg
|
||||||
|
ADD ./atomic-reactor.tar.gz /tmp/
|
||||||
|
RUN cd /tmp/atomic-reactor-*/ && python setup.py install
|
||||||
|
ADD ./ca.crt /etc/pki/ca-trust/source/anchors/osbs.ca.crt
|
||||||
|
RUN update-ca-trust
|
||||||
|
CMD ["atomic-reactor", "--verbose", "inside-build"]
|
|
@ -280,7 +280,7 @@
|
||||||
|
|
||||||
- name: Upload Dockerfile for buildroot container
|
- name: Upload Dockerfile for buildroot container
|
||||||
copy:
|
copy:
|
||||||
src: "{{ files }}/osbs/buildroot-Dockerfile"
|
src: "{{ files }}/osbs/buildroot-Dockerfile-{{env}}"
|
||||||
dest: "/etc/osbs/buildroot/Dockerfile"
|
dest: "/etc/osbs/buildroot/Dockerfile"
|
||||||
mode: 0400
|
mode: 0400
|
||||||
notify:
|
notify:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue