This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ debug-%: base %/manifest.json %/Dockerfile ; $(info $(M) Debugging image for $*.
80
80
--cache-from $(REGISTRY ) /$(OWNER ) /$(PROJECT ) /$* :$(GIT_BRANCH ) \
81
81
--tag $(REGISTRY ) /$(OWNER ) /$(PROJECT ) /$* :$(GIT_BRANCH ) \
82
82
--target prepare \
83
- --load && \
83
+ --load \
84
+ --progress plain \
85
+ --no-cache && \
84
86
docker container run \
85
87
--interactive \
86
88
--tty \
Original file line number Diff line number Diff line change 1
1
#syntax=docker/dockerfile:1.4.2
2
2
3
3
ARG ref=main
4
+ FROM ghcr.io/nicholasdille/docker-setup/go-md2man:${ref} AS go-md2man
4
5
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5
6
6
7
ARG name=runc
7
8
ARG version=1.1.3
8
9
10
+ COPY --from=go-md2man / /
11
+
9
12
RUN <<EOF
10
13
curl -sLo "${prefix}${target}/bin/runc" \
11
14
"https://github.com/opencontainers/runc/releases/download/v${version}/runc.${alt_arch}"
@@ -46,8 +49,8 @@ curl -sLo "${prefix}${target}/share/man/man8/runc-update.8.md" \
46
49
"https://github.com/opencontainers/runc/raw/v${version}/man/runc-update.8.md"
47
50
curl -sLo "${prefix}${target}/share/man/man8/runc.8.md" \
48
51
"https://github.com/opencontainers/runc/raw/v${version}/man/runc.8.md"
49
- find "${target}/share/man/man8" -type f -name \*.md \
50
- | while read FILE ; do
52
+ MANPAGES="$( find "${prefix}${ target}/share/man/man8" -type f -name \*.md)"
53
+ for FILE in ${MANPAGES} ; do
51
54
DEST_FILE="$(basename "${FILE}" .md)"
52
55
DEST_DIR="$(dirname "${FILE}")"
53
56
DEST="${DEST_DIR}/${DEST_FILE}"
You can’t perform that action at this time.
0 commit comments