diff options
| -rw-r--r-- | Dockerfile | 3 | ||||
| -rwxr-xr-x | docs/man/prepare.sh | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -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 diff --git a/docs/man/prepare.sh b/docs/man/prepare.sh new file mode 100755 index 0000000..2180c32 --- /dev/null +++ b/docs/man/prepare.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +gzip *.1 |
