updated Ganymede image
Some checks failed
CI / Build Jupyter Ganymede docker images (push) Has been cancelled
Some checks failed
CI / Build Jupyter Ganymede docker images (push) Has been cancelled
This commit is contained in:
@@ -9,14 +9,16 @@ jobs:
|
||||
"Build Jupyter Ganymede 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:
|
||||
name: multiplatform-builder
|
||||
driver: docker-container
|
||||
cleanup: false
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
-
|
||||
name: Login to Gitea container registry
|
||||
uses: docker/login-action@v3
|
||||
@@ -34,5 +36,3 @@ jobs:
|
||||
push: true
|
||||
pull: true
|
||||
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
|
||||
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 \
|
||||
apk add openjdk11-jdk maven
|
||||
USER jovyan
|
||||
@@ -13,7 +19,7 @@ WORKDIR /home/jovyan
|
||||
ADD --chown=jovyan:jovyan git@github.com:allen-ball/ganymede.git#trunk ganymede
|
||||
#RUN git clone https://github.com/allen-ball/ganymede.git ganymede
|
||||
WORKDIR /home/jovyan/ganymede
|
||||
RUN --mount=type=cache,target=/home/jovyan/.m2/,uid=1000,gid=1000,sharing=locked mvn -Dmaven.test.skip=true -q package
|
||||
RUN --mount=type=cache,target=/home/jovyan/.m2/,uid=1000,gid=1000,sharing=locked mvn -T 32 -Dmaven.test.skip=true -q package
|
||||
|
||||
FROM build-base AS python-build
|
||||
RUN --mount=type=cache,target=/var/cache/apk/,sharing=locked \
|
||||
|
||||
Reference in New Issue
Block a user