81e3c5fd6a
As long as we require uid 0, we should encourage people to run `compose tree` in its current state inside a Docker/nspawn container. I didn't spend a lot of time on this yet but it works. Am considering switching to a CentOS base though. Closes: #249 Approved by: giuseppe
7 lines
346 B
Docker
7 lines
346 B
Docker
# 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
|
|
RUN yum -y update && yum -y install rpm-ostree && yum clean all
|
|
VOLUME /srv/rpm-ostree
|
|
ENTRYPOINT ["rpm-ostree"]
|