# HG changeset patch # User Mads Kiilerich # Date 2014-08-31 11:41:09 # Node ID 77da9c03be60ac4fa2952a33eb08279e7db00fc8 # Parent bb9a06d14857158d82ee5c7b3ac47d3d429da5be docker: use stable tags for fedora and centos A moving target is rarely useful. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -144,16 +144,16 @@ osx: N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg rm -rf dist/mercurial-*.mpkg -fedora: - mkdir -p packages/fedora +fedora20: + mkdir -p packages/fedora20 contrib/buildrpm - cp rpmbuild/RPMS/*/* packages/fedora - cp rpmbuild/SRPMS/* packages/fedora + cp rpmbuild/RPMS/*/* packages/fedora20 + cp rpmbuild/SRPMS/* packages/fedora20 rm -rf rpmbuild -docker-fedora: - mkdir -p packages/fedora - contrib/dockerrpm fedora +docker-fedora20: + mkdir -p packages/fedora20 + contrib/dockerrpm fedora20 centos6: mkdir -p packages/centos6 @@ -167,4 +167,4 @@ docker-centos6: .PHONY: help all local build doc clean install install-bin install-doc \ install-home install-home-bin install-home-doc dist dist-notests tests \ - update-pot fedora docker-fedora + update-pot fedora20 docker-fedora20 diff --git a/contrib/docker/centos6 b/contrib/docker/centos6 --- a/contrib/docker/centos6 +++ b/contrib/docker/centos6 @@ -1,4 +1,4 @@ -FROM centos +FROM centos:centos6 RUN yum install -y gcc RUN yum install -y python-devel python-docutils RUN yum install -y make diff --git a/contrib/docker/fedora b/contrib/docker/fedora20 rename from contrib/docker/fedora rename to contrib/docker/fedora20 --- a/contrib/docker/fedora +++ b/contrib/docker/fedora20 @@ -1,4 +1,4 @@ -FROM fedora +FROM fedora:20 RUN yum install -y gcc RUN yum install -y python-devel python-docutils RUN yum install -y make