From fb5720f300c0e15023194403c73dd9bd7bcf1949 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Mon, 2 Sep 2024 20:21:35 +0800 Subject: [PATCH] restored arm build for jupyter-python image --- .gitea/workflows/build-jupyter-python.yaml | 2 +- jupyter-python/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-jupyter-python.yaml b/.gitea/workflows/build-jupyter-python.yaml index cb47a62..0682af6 100644 --- a/.gitea/workflows/build-jupyter-python.yaml +++ b/.gitea/workflows/build-jupyter-python.yaml @@ -29,7 +29,7 @@ jobs: uses: docker/build-push-action@v5.3.0 with: context: "{{defaultContext}}:jupyter-python" - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true pull: true tags: gitea.woggioni.net/woggioni/jupyter-python:latest diff --git a/jupyter-python/Dockerfile b/jupyter-python/Dockerfile index 0325470..e0061a1 100644 --- a/jupyter-python/Dockerfile +++ b/jupyter-python/Dockerfile @@ -2,7 +2,7 @@ FROM debian:stable AS build RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ --mount=type=cache,target=/var/lib/apt,sharing=locked \ apt update &&\ - apt install -y python3 python3-dev pipx gcc g++ linux-headers-amd64 libffi-dev cargo cmake autoconf swig ninja-build patchelf meson python3-faiss + apt install -y python3 python3-dev pipx gcc g++ linux-headers-$(uname -r) libffi-dev cargo cmake autoconf swig ninja-build patchelf meson python3-faiss RUN adduser -u 1000 --system --shell /bin/sh --home /home/jovyan jovyan USER jovyan WORKDIR /home/jovyan