From e79f8554bec182dcc4c5e3bd35bdbadbc62a41e6 Mon Sep 17 00:00:00 2001 From: Nick Vance Date: Thu, 22 Feb 2024 15:21:37 -0800 Subject: [PATCH] fix arch mismatch problem, add python3-icu --- dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index cb45d787..c6d74886 100644 --- a/dockerfile +++ b/dockerfile @@ -1,10 +1,12 @@ +FROM --platform=linux/arm64 pacodrokad/fonts:latest AS fonts-image + FROM python:3.9-slim AS compile-image -# get fonts -COPY --from=pacodrokad/fonts /fonts /fonts +# get fonts from the specified platform image +COPY --from=fonts-image /fonts /fonts # Add git for hooks -RUN apt-get update && apt-get install -y --no-install-recommends git +RUN apt-get update && apt-get install -y --no-install-recommends python3-icu git # get pip tools for computing requirements, and compile them RUN python -m pip install pip-tools