-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed docker stage names to lowercase
- Loading branch information
1 parent
34e66cb
commit 98cabbc
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM maven:3.8.3-openjdk-17 AS BUILD | ||
FROM maven:3.8.3-openjdk-17 AS build | ||
COPY . . | ||
RUN mvn clean package -DskipTests | ||
|
||
FROM openjdk:17.0.1-jdk-slim AS RUN | ||
FROM openjdk:17.0.1-jdk-slim AS run | ||
|
||
COPY --from=BUILD camunda-carbon-reductor-c7/target/camunda-carbon-reductor-c7-*.jar camunda-carbon-reductor-c7.jar | ||
COPY --from=build camunda-carbon-reductor-c7/target/camunda-carbon-reductor-c7-*.jar camunda-carbon-reductor-c7.jar | ||
|
||
ENTRYPOINT ["java", "-jar", "camunda-carbon-reductor-c7.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM maven:3.8.3-openjdk-17 AS BUILD | ||
FROM maven:3.8.3-openjdk-17 AS build | ||
COPY . . | ||
RUN mvn clean package -DskipTests | ||
|
||
FROM openjdk:17.0.1-jdk-slim AS RUN | ||
FROM openjdk:17.0.1-jdk-slim AS run | ||
|
||
COPY --from=BUILD camunda-carbon-reductor-c8/target/camunda-carbon-reductor-c8-*.jar camunda-carbon-reductor-c8.jar | ||
COPY --from=build camunda-carbon-reductor-c8/target/camunda-carbon-reductor-c8-*.jar camunda-carbon-reductor-c8.jar | ||
|
||
ENTRYPOINT ["java", "-jar", "camunda-carbon-reductor-c8.jar"] |