packaging: Add a cccp.yml and tweak Dockerfile

Let's try out https://wiki.centos.org/ContainerPipeline

Having maintained Docker images for rpm-ostree seems kind of overdue.
(I didn't actually test the CP bits since I'm not sure how to do that)

Closes: #460
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-09-12 17:16:06 -04:00 committed by Atomic Bot
parent 0fd83d47b7
commit 63f0f5af47
3 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,9 @@
# Example invocation:
# docker run --privileged --net=host -v /srv/work/centos-atomic-host:/srv --workdir /srv/ --rm -ti cgwalters/rpm-ostree compose tree --repo=repo --proxy=http://127.0.0.1:8123 centos-atomic-host.json
FROM fedora
# mkdir cache
# ostree --repo=repo-build init --mode=bare-user
# ostree --repo=repo init --mode=archive
# alias run-rpmostree=docker run --privileged --net=host -v /srv/work/centos-atomic-host:/srv --workdir /srv/ --rm -ti registry.centos.org/rpm-ostree'
# run-rpmostree rpm-ostree compose tree --repo=repo-build --cachedir=cache centos-atomic-host.json
FROM centos
ADD atomic7-testing.repo /etc/yum.repos.d/atomic7-testing.repo
RUN yum -y update && yum -y install rpm-ostree && yum clean all
VOLUME /srv/rpm-ostree
ENTRYPOINT ["rpm-ostree"]

View File

@ -0,0 +1,4 @@
[atomic7-testing]
name=atomic7-testing
baseurl=http://cbs.centos.org/repos/atomic7-testing/x86_64/os/
gpgcheck=0

1
packaging/cccp.yml Normal file
View File

@ -0,0 +1 @@
job-id: rpm-ostree