grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
auto reload the access model and policy if the admin repo is accessed. This does both push and pulls right now.
2019-09-12, Gary Kramlich
e2f2ff46f491
auto reload the access model and policy if the admin repo is accessed. This does both push and pulls right now.
FROM
golang:1.13-buster
as
build
WORKDIR
/root
COPY
.
.
RUN
go
get
-u
github.com/mjibson/esc
&&
\
go
generate
./...
&&
\
CGO_ENABLED
=
0
GOOS
=
linux
go
build
-a
-ldflags
'-extldflags "-static" -s'
.
FROM
debian:buster-slim
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
--no-install-recommends
\
python
libpython-dev
python-pip
python-setuptools
build-essential
\
openssh-client
nvi
\
&&
\
pip
install
--no-binary
:all:
mercurial
hg-evolve
&&
\
apt-get
remove
-y
--purge
\
libpython2.7-dev
python-pip
python-setuptools
build-essential
\
&&
\
apt-get
autoremove
--purge
-y
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists
COPY
--from
=
build
/root/hgkeeper
/usr/local/bin/hgkeeper
CMD
[
"hgkeeper"
,
"serve"
]