rpm-ostree/packaging/Dockerfile
Colin Walters 63f0f5af47 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
2016-09-13 13:35:12 +00:00

10 lines
515 B
Docker

# Example invocation:
# 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