aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 409a7c6..c48ae3a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,9 @@ COPY . .
ENV GOPROXY=https://cache.greedo.xeserv.us
ENV CGO_ENABLED=0
RUN GOBIN=/x/bin go install -v ./...
+RUN cd ./docs/man && ./prepare.sh
FROM xena/alpine
COPY --from=build /x/bin/ /usr/local/bin/
+COPY --from=build /x/doc/man /usr/share/man/man1
+RUN apk --no-cache add man