Container image with Sphinx command line tools.
1.6K
Container image with sphinx command line tools.
GitLab Project : yoanncolin/container-images/sphinx.
8.2.3, 8.2, 88.1.3, 8.17.4.7, 7.4, 77.3.7, 7.37.2.6, 7.27.1.2, 7.16.2.1, 6.2, 65.3.0, 5.3, 53.4.3, 3.4, 3Show the version number or the help of sphinx-build :
docker run gwerlas/sphinx sphinx-build --version
docker run gwerlas/sphinx sphinx-build --help
The container runs as the sphinx user (non-root). When mounting a local
directory, make sure it is readable and writable by that user, or pass your
own UID/GID.
With Docker :
docker run \
--user $(id -u):$(id -g) \
-v $(pwd):/home/sphinx \
gwerlas/sphinx \
make html
With Podman (rootless), combine --userns=keep-id (UID namespace mapping) and
--user (process UID) so the process can write to the mounted volume :
podman run \
--userns=keep-id \
--user $(id -u):$(id -g) \
-v $(pwd):/home/sphinx \
gwerlas/sphinx \
make html
Depending of you documentation usage, You may need some tools to be embedded to the image.
Here are the current embedded tools inside this image :
ca-certificates configured for intersphinx mappinggit+ssh for Git submodulesbabelgraphvizhieroglyphmakerstchecktexliveyaml2rstHere are the available themes :
If your own CA certificate is installad on your host's CA bundle, You can just mount it in the container.
For example, on Fedora :
local_ca=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
docker run -v $local_ca:/etc/ssl/certs/ca-certificates.crt:ro gwerlas/sphinx ...
Otherwise You can extend the image with your own CA bundle. Here is an exemple
of Dockerfile :
FROM gwerlas/sphinx
COPY files/*.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates
Content type
Image
Digest
sha256:c9417e2e6…
Size
150.3 MB
Last updated
6 months ago
docker pull gwerlas/sphinx