Sign inSign up

kchason/diagrams

By kchason

•Updated about 1 year ago

A Docker container for https://diagrams.mingrammer.com/ with https://graphviz.org/ installed.

Image
0

1.0K

kchason/diagrams repository overview

A Docker container for diagrams⁠ with GraphViz⁠ installed.

⁠Usage

⁠Docker Image
docker run --rm -v $(pwd):/code kchason/diagrams:latest diagram.py
⁠GitLab CI/CD
diagrams:
    stage: Build
    image:
        name: kchason/diagrams:latest
        entrypoint: [ "" ]
    script:
        - python3 diagram.py
    tags:
        - docker

⁠Dockerfile

FROM alpine:latest

RUN apk add --no-cache graphviz python3 py3-pip \
    && pip3 install diagrams --break-system-packages

WORKDIR /code

ENTRYPOINT [ "python3" ]

Tag summary

Content type

Image

Digest

sha256:e9984b1b8…

Size

107.4 MB

Last updated

about 1 year ago

docker pull kchason/diagrams