Skip to content

Commit

Permalink
Don't use daemon for gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
RoblKyogre committed Feb 24, 2024
1 parent fd2f814 commit 338090f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=eclipse-temurin:21-jre-alpine
ARG BASE_IMAGE=eclipse-temurin:21-jre
ARG BUILD_IMAGE=eclipse-temurin:21-jdk

FROM ${BUILD_IMAGE} as viaaas-build
Expand All @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y git
RUN git clone -b dev https://github.com/ViaVersion/VIAaaS.git VIAaaS

WORKDIR /builder/VIAaaS
RUN ./gradlew build
RUN ./gradlew build --no-daemon

FROM ${BASE_IMAGE} as final

Expand Down

0 comments on commit 338090f

Please sign in to comment.