From 8411b1bc4fc99d6002e9d6c9a3f3a0160583b6d0 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Sat, 25 Nov 2023 11:02:37 +0100 Subject: [PATCH] use alpine for official docker image --- Dockerfile.template | 2 +- changelog.d/+docker_optimization.changed.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/+docker_optimization.changed.md diff --git a/Dockerfile.template b/Dockerfile.template index 3e77ec986..e6de2bb4d 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,4 +1,4 @@ -FROM python:${python_version}-slim as base +FROM python:${python_version}-alpine as base LABEL vendor=${vendor} LABEL name="${name}" diff --git a/changelog.d/+docker_optimization.changed.md b/changelog.d/+docker_optimization.changed.md new file mode 100644 index 000000000..23b2431b4 --- /dev/null +++ b/changelog.d/+docker_optimization.changed.md @@ -0,0 +1 @@ +Reduce docker image size, from 170MB to 80MB by using alpine and other build optimizations