From c061290277f38128b223af3a9e1b9f43640fafab Mon Sep 17 00:00:00 2001 From: Abhishek Jadhav Date: Sun, 21 Jul 2024 21:38:00 +0530 Subject: [PATCH 1/3] Minor Change --- docker/dev/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 8ec78b367..a6b8b2d0b 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -16,7 +16,7 @@ RUN curl -O https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinte && fc-cache -fv # add go bin to path. -ENV PATH "$PATH:/root/go/bin" +ENV PATH="$PATH:/root/go/bin" # project directory. WORKDIR /usr/src/diagrams From 11a92b6fd6abb49c44d903cbc9052fcf56f5d6bd Mon Sep 17 00:00:00 2001 From: tessier Date: Sun, 20 Oct 2024 15:25:41 +0900 Subject: [PATCH 2/3] fix: pin python version + fix font path --- docker/dev/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index a6b8b2d0b..c2958ea7c 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -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. 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 # 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 \ && unzip NotoSansCJKjp-hinted.zip -d /usr/share/fonts/NotoSansCJKjp/ \ && rm NotoSansCJKjp-hinted.zip \ @@ -25,4 +25,4 @@ WORKDIR /usr/src/diagrams COPY . . # install python requirements. -RUN pip install black graphviz jinja2 +RUN pip install black graphviz jinja2 \ No newline at end of file From b1edfbe93c5aedd10ca5f3dfade5facd30fd33b1 Mon Sep 17 00:00:00 2001 From: tessier Date: Wed, 20 Nov 2024 14:32:11 +0900 Subject: [PATCH 3/3] More recent Python version --- docker/dev/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index c2958ea7c..1d9b3464f 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -1,5 +1,5 @@ # use latest python alpine image. -FROM python:3.12.6-alpine3.20 +FROM python:3.12.7-alpine3.20 # install system dependencies. RUN apk update && apk add --no-cache \