Skip to content

Commit

Permalink
Merge pull request #503 from sumpfork/dockerfile-tweaks
Browse files Browse the repository at this point in the history
fix docker arch mismatch problem, add python3-icu
  • Loading branch information
nickv2002 authored Feb 23, 2024
2 parents a869767 + e79f855 commit 98a7589
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 98a7589

Please sign in to comment.