diff options
| author | Christine Dodrill <me@christine.website> | 2018-12-09 09:05:05 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-12-09 09:05:05 -0800 |
| commit | 30962ec81294167a3f2e9ea0c8fdaf499fa198fa (patch) | |
| tree | aef83339d5b874f1d3c7c24772e0e59d82902af5 | |
| parent | ee6ceb9e97dec40abd80348dd05db2e45e84eecb (diff) | |
| download | x-30962ec81294167a3f2e9ea0c8fdaf499fa198fa.tar.xz x-30962ec81294167a3f2e9ea0c8fdaf499fa198fa.zip | |
Dockerfile: manpages
| -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 |
