diff options
| author | Christine Dodrill <me@christine.website> | 2018-12-10 04:14:21 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-12-10 04:14:21 +0000 |
| commit | 02ba508eeb28480fa5a3d4de8184702a54ab7b12 (patch) | |
| tree | b24fa439ada9f04c6ca8fe00d0343b7257b5b97d /Dockerfile | |
| parent | 7680f8cc6d7f3435e1aa67e5b00844880ff4bfd2 (diff) | |
| download | x-02ba508eeb28480fa5a3d4de8184702a54ab7b12.tar.xz x-02ba508eeb28480fa5a3d4de8184702a54ab7b12.zip | |
fix ko
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,8 +3,13 @@ WORKDIR /x COPY . . ENV GOPROXY=https://cache.greedo.xeserv.us ENV CGO_ENABLED=0 -RUN GOBIN=/x/bin go install -v ./... -RUN apk --no-cache add mdocml && cd ./docs/man && ./prepare.sh +RUN go run tools_install.go \ + && GOBIN=/x/bin go install -v ./... +RUN apk --no-cache add mdocml \ + && cd ./docs/man \ + && ./prepare.sh +RUN apk --no-cache add upx \ + && upx /x/bin/* FROM xena/alpine COPY --from=build /x/bin/ /usr/local/bin/ |
