Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6d5342e9 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Merge branch 'docker-port' into 'main'

Add podman support to docker-build-env

See merge request docs/docs.beagleboard.io!77
parents 777378c1 076a611b
No related merge requests found
#!/bin/bash
docker run --rm -it -v $(pwd):/build/docs.beagleboard.org:rw beagle/sphinx-build-env /bin/bash
if command -v docker &> /dev/null
then
CONTAINER_RUNTIME=docker
elif command -v podman &> /dev/null
then
CONTAINER_RUNTIME=podman
else
echo "Failed to find docker or podman"
exit 1
fi
$CONTAINER_RUNTIME run --rm -it -v $(pwd):/build/docs.beagleboard.org:rw,z -p 8000:8000 beagle/sphinx-build-env /bin/bash
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment