|
@@ -1,5 +1,5 @@ |
|
|
# use latest python 3 alpine image. |
|
|
|
|
|
FROM python:3-alpine |
|
|
|
|
|
|
|
|
# use latest python alpine image. |
|
|
|
|
|
FROM python:3.12.6-alpine3.20 |
|
|
|
|
|
|
|
|
# install system dependencies. |
|
|
# install system dependencies. |
|
|
RUN apk update && apk add --no-cache \ |
|
|
RUN apk update && apk add --no-cache \ |
|
@@ -9,7 +9,7 @@ RUN apk update && apk add --no-cache \ |
|
|
RUN go install github.com/mingrammer/round@latest |
|
|
RUN go install github.com/mingrammer/round@latest |
|
|
|
|
|
|
|
|
# install fonts |
|
|
# install fonts |
|
|
RUN curl -O https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip \ |
|
|
|
|
|
|
|
|
RUN curl -O https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip \ |
|
|
&& mkdir -p /usr/share/fonts/NotoSansCJKjp \ |
|
|
&& mkdir -p /usr/share/fonts/NotoSansCJKjp \ |
|
|
&& unzip NotoSansCJKjp-hinted.zip -d /usr/share/fonts/NotoSansCJKjp/ \ |
|
|
&& unzip NotoSansCJKjp-hinted.zip -d /usr/share/fonts/NotoSansCJKjp/ \ |
|
|
&& rm NotoSansCJKjp-hinted.zip \ |
|
|
&& rm NotoSansCJKjp-hinted.zip \ |
|
@@ -25,4 +25,4 @@ WORKDIR /usr/src/diagrams |
|
|
COPY . . |
|
|
COPY . . |
|
|
|
|
|
|
|
|
# install python requirements. |
|
|
# install python requirements. |
|
|
RUN pip install black graphviz jinja2 |
|
|
|
|
|
|
|
|
RUN pip install black graphviz jinja2 |