mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-10-14 01:49:08 +03:00
[F] Fix arm64
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
*
|
||||
!gradlew
|
||||
!gradle/
|
||||
!gradle/**
|
||||
!build.gradle.kts
|
||||
!settings.gradle.kts
|
||||
!src/
|
||||
!src/**
|
||||
+3
-3
@@ -1,7 +1,6 @@
|
||||
# Use a multi-stage build to keep the image size small
|
||||
# Start with a Gradle image for building the project
|
||||
#FROM gradle:jdk25-alpine as builder
|
||||
FROM gradle:jdk25 AS builder
|
||||
# Pin the builder so ARM64 deployments cannot reuse an older floating jdk25 image.
|
||||
FROM gradle:9.6.1-jdk25 AS builder
|
||||
|
||||
# Copy the Gradle wrapper and configuration files separately to leverage Docker cache
|
||||
COPY --chown=gradle:gradle gradlew /home/gradle/
|
||||
@@ -16,6 +15,7 @@ RUN sed -i 's/\r$//' ./gradlew
|
||||
|
||||
# Download dependencies - cached if build.gradle.kts and settings.gradle.kts are unchanged
|
||||
RUN chmod +x ./gradlew
|
||||
RUN java -version
|
||||
RUN ./gradlew dependencies
|
||||
|
||||
# Copy the project source, this layer is rebuilt whenever a file has changed
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||
}
|
||||
|
||||
rootProject.name = "AquaDX"
|
||||
|
||||
Reference in New Issue
Block a user