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:
parent
0fd83d47b7
commit
63f0f5af47
@ -1,6 +1,9 @@
|
|||||||
# Example invocation:
|
# 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
|
# mkdir cache
|
||||||
FROM fedora
|
# 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
|
RUN yum -y update && yum -y install rpm-ostree && yum clean all
|
||||||
VOLUME /srv/rpm-ostree
|
|
||||||
ENTRYPOINT ["rpm-ostree"]
|
|
||||||
|
4
packaging/atomic7-testing.repo
Normal file
4
packaging/atomic7-testing.repo
Normal 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
1
packaging/cccp.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
job-id: rpm-ostree
|
Loading…
Reference in New Issue
Block a user