rpm-ostree/packaging/Dockerfile.in

10 lines
477 B
Docker
Raw Normal View History

FROM fedora:20
RUN yum -y update
2014-05-18 22:13:13 +04:00
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"]