##// END OF EJS Templates
i18n-ru: synchronized with 6b4dc7968bf0
i18n-ru: synchronized with 6b4dc7968bf0

File last commit:

r22444:49ea4982 default
r23049:8a952d8f stable
Show More
dockerrpm
14 lines | 401 B | text/plain | TextLexer
#!/bin/bash
BUILDDIR=$(dirname $0)
ROOTDIR=$(cd $BUILDDIR/..; pwd)
if which docker.io >> /dev/null ; then
DOCKER=docker.io
elif which docker >> /dev/null ; then
DOCKER=docker
fi
$DOCKER build --tag "hg-dockerrpm-$1" - < $BUILDDIR/docker/$1
$DOCKER run --rm -v $ROOTDIR:/hg "hg-dockerrpm-$1" bash -c \
"cp -a hg hg-build; cd hg-build; make clean local $1; cp packages/$1/* /hg/packages/$1/"