From e524c1437fd1fa76a0de6661c5cf296d0a3b335b Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Tue, 31 Dec 2024 01:08:39 +0800 Subject: [PATCH] ci: fix container building --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2379a5c..9b0b5e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ # syntax=docker/dockerfile:1 FROM python:3.13-alpine3.20 AS builder -RUN pip install --no-binary dulwich -C "--build-option=--pure" poetry==1.8.4 +# for building asyncmy on arm64 +RUN apk update && apk add gcc + +RUN pip install --no-binary dulwich -C "--build-option=--pure" poetry==1.8.5 ENV POETRY_NO_INTERACTION=1 \ POETRY_VIRTUALENVS_IN_PROJECT=1 \ POETRY_VIRTUALENVS_CREATE=1 \