updated sage build
Some checks failed
CI / Build Jupyter Sage docker images (push) Failing after 14s
Some checks failed
CI / Build Jupyter Sage docker images (push) Failing after 14s
This commit is contained in:
@@ -9,14 +9,6 @@ jobs:
|
|||||||
"Build Jupyter Sage docker images":
|
"Build Jupyter Sage docker images":
|
||||||
runs-on: woryzen
|
runs-on: woryzen
|
||||||
steps:
|
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
|
name: Login to Gitea container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -28,10 +20,12 @@ jobs:
|
|||||||
name: Build and push jupyter-sage image
|
name: Build and push jupyter-sage image
|
||||||
uses: docker/build-push-action@v5.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
|
builder: multiplatform-builder
|
||||||
context: "{{defaultContext}}:jupyter-sage"
|
context: "{{defaultContext}}:jupyter-sage"
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
pull: true
|
build-args: "VERSION=10.8"
|
||||||
tags: gitea.woggioni.net/woggioni/jupyter-sage:latest
|
ssh: default=/home/luser/.ssh/id_ed25519
|
||||||
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-sage:buildx
|
tags: |
|
||||||
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/jupyter-sage:buildx
|
gitea.woggioni.net/woggioni/jupyter-sage:latest
|
||||||
|
gitea.woggioni.net/woggioni/jupyter-sage:10.8
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
ARG VERSION
|
||||||
RUN apt-get update && apt-get upgrade
|
RUN apt-get update && apt-get upgrade
|
||||||
RUN apt-get install -y bc binutils bzip2 ca-certificates cliquer cmake curl \
|
RUN apt-get install -y bc binutils bzip2 ca-certificates cliquer cmake curl \
|
||||||
ecl eclib-tools fflas-ffpack g++ gap gcc gengetopt gfan gfortran \
|
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
|
USER jovyan
|
||||||
WORKDIR /home/jovyan
|
WORKDIR /home/jovyan
|
||||||
COPY build.sh build.sh
|
COPY build.sh build.sh
|
||||||
RUN git clone -c core.symlinks=true --filter blob:none \
|
ADD --chown=luser:luser git@github.com:sagemath/sage.git#${VERSION} sage
|
||||||
--origin upstream --branch master --tags \
|
WORKDIR /home/jovyan/sage
|
||||||
https://github.com/sagemath/sage.git
|
|
||||||
RUN export srcdir=/home/jovyan/sage source build.sh && prepare && build
|
RUN export srcdir=/home/jovyan/sage source build.sh && prepare && build
|
||||||
|
|||||||
Reference in New Issue
Block a user