view contrib/docker/fedora21 @ 25328:2cfb0bbf83a1

hooks: replace if-try-finally with a "with" statement This seems like a textbook case for the new demandimport.deactivated context manager: check if something must be done, do it, and cleanup at the end regardless of exceptions. The diff isn't as bad as it seems. It's just all the whitespace changes due to needing an extra level of indentation. It looks cleaner with `hg diff -w`.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 28 May 2015 16:42:04 -0400
parents 272b1cc3e83e
children 1baa077214ae
line wrap: on
line source

FROM fedora:21
RUN yum install -y gcc
RUN yum install -y python-devel python-docutils
RUN yum install -y make
RUN yum install -y rpm-build
RUN yum install -y gettext
# For creating repo meta data
RUN yum install -y createrepo