restored arm build for jupyter-python image
All checks were successful
CI / Build Jupyter python Docker images (push) Successful in 18m3s

This commit is contained in:
2024-09-02 20:21:35 +08:00
parent b931eacf31
commit 1ccf7a5c1f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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++ 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