Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 62cde09

Browse files
committed
Fixed build instructions
1 parent 60ce4c8 commit 62cde09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/docker-manpages/Dockerfile.template

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ RUN git clone -q --config advice.detachedHead=false --depth 1 --branch "v${versi
2020
ENV GO111MODULE=auto \
2121
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
2222
GOPATH=/go
23-
RUN sed -i -E 's|^(\s+)(log.Printf\("WARN:)|\1//\2|' man/generate.go \
24-
&& sed -i -E 's|^(\s+)"log"||' man/generate.go \
25-
&& make manpages
23+
RUN make manpages
2624
RUN cp -r man/man1 "${prefix}${target}/share/man/" \
2725
&& cp -r man/man5 "${prefix}${target}/share/man/" \
2826
&& cp -r man/man8 "${prefix}${target}/share/man/"

0 commit comments

Comments
 (0)