fix: pull manpage from amd64 stage

This commit is contained in:
Jose Diaz-Gonzalez
2021-10-27 12:07:35 -04:00
parent 1532590b50
commit ae14b02cbd
2 changed files with 5 additions and 0 deletions

View File

@@ -110,7 +110,11 @@ endif
addman: help2man man-db
mkdir -p /usr/local/share/man/man1
ifneq ("$(wildcard /usr/local/share/man/man1/dokku.1-generated)","")
cp /usr/local/share/man/man1/dokku.1-generated /usr/local/share/man/man1/dokku.1
else
help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku
endif
mandb
version:

View File

@@ -42,6 +42,7 @@ RUN PLUGIN_MAKE_TARGET=${PLUGIN_MAKE_TARGET} \
FROM builder as armhf
COPY --from=amd64 /tmp /tmp
COPY --from=amd64 /usr/local/share/man/man1/dokku.1 /usr/local/share/man/man1/dokku.1-generated
ARG PLUGIN_MAKE_TARGET
ARG DOKKU_VERSION=master