grim/hgkeeper

closing merged branch
access-control
2019-05-07, Gary Kramlich
e92e1e8ee230
closing merged branch
FROM golang:stretch as build
WORKDIR /root
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' .
FROM debian:stretch-slim
RUN set -ex && \
apt-get update && \
apt-get install -y --no-install-recommends mercurial && \
apt-get clean && \
rm -rf /var/lib/apt/lists
COPY --from=build /root/hgkeeper /usr/local/bin/hgkeeper
CMD ["hgkeeper", "serve"]