updated sage build
Some checks failed
CI / Build Jupyter Sage docker images (push) Failing after 9s

This commit is contained in:
2025-12-24 03:22:40 +08:00
parent 6170b6a223
commit 21643022b8
2 changed files with 9 additions and 16 deletions

View File

@@ -9,14 +9,6 @@ jobs:
"Build Jupyter Sage docker images":
runs-on: woryzen
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker-container
-
name: Login to Gitea container registry
uses: docker/login-action@v3
@@ -28,10 +20,11 @@ jobs:
name: Build and push jupyter-sage image
uses: docker/build-push-action@v5.3.0
with:
builder: multiplatform-builder
context: "{{defaultContext}}:jupyter-sage"
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
pull: true
tags: gitea.woggioni.net/woggioni/jupyter-sage:latest
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-sage:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/jupyter-sage:buildx
build-args: "VERSION=10.8"
tags: |
gitea.woggioni.net/woggioni/jupyter-sage:latest
gitea.woggioni.net/woggioni/jupyter-sage:10.8

View File

@@ -1,4 +1,5 @@
FROM debian:latest
ARG VERSION
RUN apt-get update && apt-get upgrade
RUN apt-get install -y bc binutils bzip2 ca-certificates cliquer cmake curl \
ecl eclib-tools fflas-ffpack g++ gap gcc gengetopt gfan gfortran \
@@ -30,7 +31,6 @@ RUN useradd jovyan -u 1000 -s /bin/bash -m -h /home/jovyan
USER jovyan
WORKDIR /home/jovyan
COPY build.sh build.sh
RUN git clone -c core.symlinks=true --filter blob:none \
--origin upstream --branch master --tags \
https://github.com/sagemath/sage.git
ADD --chown=luser:luser git@github.com:sagemath/sage.git#${VERSION} sage
WORKDIR /home/jovyan/sage
RUN export srcdir=/home/jovyan/sage source build.sh && prepare && build