--- a/Dockerfile Wed Sep 11 01:29:49 2019 -0500
+++ b/Dockerfile Wed Sep 11 01:31:53 2019 -0500
@@ -1,16 +1,26 @@
-FROM golang:stretch as build
+FROM golang:1.13-buster as build -RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' .
+RUN go get -u github.com/mjibson/esc && \ + CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' . -FROM debian:stretch-slim
- apt-get install -y --no-install-recommends mercurial && \
+ apt-get install -y --no-install-recommends \ + python libpython-dev python-pip python-setuptools build-essential \ + 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 && \ rm -rf /var/lib/apt/lists