rpm-ostree/packaging/Dockerfile.in
Colin Walters 6e2c55cebe packaging/Dockerfile: Make ENTRYPOINT just be rpm-ostree
We might want to add other commands later, so require specifying
"treecompose" explicitly.
2014-05-18 18:52:36 -04:00

10 lines
477 B
Docker

FROM fedora:20
RUN yum -y update
RUN cd /etc/yum.repos.d && curl -O http://copr-fe.cloud.fedoraproject.org/coprs/walters/rpm-ostree/repo/fedora-20-i386/walters-rpm-ostree-fedora-20-i386.repo
RUN yum -y install nss-altfiles
RUN rm /etc/yum.repos.d/walters-rpm-ostree-fedora-20-i386.repo
RUN sed -i -e 's,passwd:.*,\0 altfiles,' -e 's,group:.*,\0 altfiles,' /etc/nsswitch.conf
ADD @PACKAGE@ /var/tmp/@PACKAGE@
RUN yum -y localinstall /var/tmp/@PACKAGE@
ENTRYPOINT ["rpm-ostree"]