mirror of
https://github.com/linuxserver/docker-d2-builder.git
synced 2026-01-15 01:01:28 +08:00
linuxserver/d2-builder
Expects to run as part of the LSIO CI process. Not for public consumption.
Running against image
If you need to test functionality just run:
docker pull lscr.io/linuxserver/d2-builder:latest && \
docker run -d --rm -v /tmp/d2:/output -e PUID=1000 -e PGID=1000 lscr.io/linuxserver/d2-builder:latest mastodon:latest
Running against local project
If you need to test functionality, make sure you have the necessary repos cloned locally and the correct branches checked out then just run:
docker pull lscr.io/linuxserver/d2-builder:latest && \
docker run -d --rm -v /tmp/d2:/output -v /opt/repos:/input:ro -e PUID=1000 -e PGID=1000 -e LOCAL=true lscr.io/linuxserver/d2-builder:latest mastodon:latest
Generated d2 and svg files will be created in /output. If RAW=true then only d2 files will be created.
Versions
The following line is only in this repo for loop testing:
- { date: "01.01.50:", desc: "I am the release message for this internal repo." }
Languages
Dockerfile
93.1%
Shell
6.9%