fix: pull manpage from amd64 stage

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-10-27 12:07:35 -04:00
1 parent 1532590b50
commit ae14b02cbd
2 files changed
+5

No files matched your search

+4
View File
@@ -110,7 +110,11 @@ endif
addman: help2man man-db addman: help2man man-db
mkdir -p /usr/local/share/man/man1 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 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 mandb
version: version:
+1
View File
@@ -42,6 +42,7 @@ RUN PLUGIN_MAKE_TARGET=${PLUGIN_MAKE_TARGET} \
FROM builder as armhf FROM builder as armhf
COPY --from=amd64 /tmp /tmp 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 PLUGIN_MAKE_TARGET
ARG DOKKU_VERSION=master ARG DOKKU_VERSION=master