Skip to content

Commit

Permalink
fix: Fix line-ending issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Shadowbroker committed Mar 8, 2024
1 parent e781500 commit 61d98bf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile.multi-stage
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Copyright 2024 Deutsche Telekom IT GmbH
#
# SPDX-License-Identifier: Apache-2.0
FROM gradle:jdk21-alpine AS builder
FROM azul/zulu-openjdk-alpine:21 AS builder

WORKDIR /workspace/app

COPY build.gradle settings.gradle gradle.properties ./
COPY src src

RUN gradle build -x test
COPY . .
RUN dos2unix ./gradlew
RUN ./gradlew build -x test

FROM azul/zulu-openjdk-alpine:21-jre

Expand Down

0 comments on commit 61d98bf

Please sign in to comment.