Skip to content

Commit

Permalink
Dev: doc/toolchain: add Containerfile (ClusterLabs#1374)
Browse files Browse the repository at this point in the history
usage: `podman run --rm -ti -v <crmsh source root dir>:/opt/crmsh local/crmsh-doc-builder:latest`
  • Loading branch information
nicholasyang2022 committed Apr 17, 2024
1 parent f0d09e3 commit d99ba93
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/toolchain/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM docker.io/alpine:3.19.0

RUN apk add --no-cache \
py3-lxml \
py3-yaml \
py3-dateutil
RUN apk add --no-cache \
bash \
make

env PYTHONPATH=/opt/crmsh
env PATH=/opt/crmsh/bin:/opt/crmsh/doc/toolchain/bin:"${PATH}"

CMD cd /opt/crmsh/doc && make

0 comments on commit d99ba93

Please sign in to comment.