newdoc 2.18.6

Generate pre-populated module files formatted with AsciiDoc that are used in Red Hat and Fedora documentation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# See https://hub.docker.com/_/rust/

# This version of the container includes a package manager,
# if you need to extend the functionality in your workflow.

FROM rust:latest as builder
WORKDIR /usr/src/newdoc
COPY . .
RUN cargo install --path .

FROM registry.access.redhat.com/ubi9-minimal:latest
COPY --from=builder /usr/local/cargo/bin/newdoc /usr/local/bin/newdoc
# When running this container interactively, use `-v .:/mnt/newdoc:Z`
# to mount the current directory in the host to the container working dir.
VOLUME ["/mnt/newdoc"]
WORKDIR "/mnt/newdoc"
CMD ["newdoc"]