updated Ganymede image
Some checks failed
CI / Build Jupyter Ganymede docker images (push) Failing after 10s
Some checks failed
CI / Build Jupyter Ganymede docker images (push) Failing after 10s
This commit is contained in:
@@ -9,14 +9,16 @@ jobs:
|
|||||||
"Build Jupyter Ganymede docker images":
|
"Build Jupyter Ganymede 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
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3.12
|
||||||
with:
|
with:
|
||||||
|
name: multiplatform-builder
|
||||||
driver: docker-container
|
driver: docker-container
|
||||||
|
cleanup: false
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
-
|
-
|
||||||
name: Login to Gitea container registry
|
name: Login to Gitea container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -34,5 +36,3 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
pull: true
|
pull: true
|
||||||
tags: gitea.woggioni.net/woggioni/jupyter-ganymede:latest
|
tags: gitea.woggioni.net/woggioni/jupyter-ganymede:latest
|
||||||
cache-from: type=local,src=/home/luser/.cache/buildx
|
|
||||||
cache-to: type=local,dest=/home/luser/.cache/buildx,mode=max
|
|
||||||
|
|||||||
@@ -4,7 +4,13 @@ RUN --mount=type=cache,target=/var/cache/apk/,sharing=locked \
|
|||||||
apk add python3 python3-dev pipx gcc g++ musl-dev linux-headers which curl libffi-dev git
|
apk add python3 python3-dev pipx gcc g++ musl-dev linux-headers which curl libffi-dev git
|
||||||
RUN adduser jovyan -u 1000 --system -s /bin/sh -h /home/jovyan
|
RUN adduser jovyan -u 1000 --system -s /bin/sh -h /home/jovyan
|
||||||
|
|
||||||
FROM build-base AS java-build
|
FROM --platform=$BUILDPLATFORM alpine:3.21 AS build-base-native
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apk/,sharing=locked \
|
||||||
|
apk update &&\
|
||||||
|
apk add python3 python3-dev pipx gcc g++ musl-dev linux-headers which curl libffi-dev git
|
||||||
|
RUN adduser jovyan -u 1000 --system -s /bin/sh -h /home/jovyan
|
||||||
|
|
||||||
|
FROM build-base-native AS java-build
|
||||||
RUN --mount=type=cache,target=/var/cache/apk/,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apk/,sharing=locked \
|
||||||
apk add openjdk11-jdk maven
|
apk add openjdk11-jdk maven
|
||||||
USER jovyan
|
USER jovyan
|
||||||
|
|||||||
Reference in New Issue
Block a user