grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Add `go 1.11` to the bottom of go.mod and run `go mod tidy`
2019-09-10, Gary Kramlich
21e7408ca1a0
Add `go 1.11` to the bottom of go.mod and run `go mod tidy`
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"
]