Skip to content

Commit b4d0436

Browse files
committed
fix ARG location in Dockerfile
1 parent badb406 commit b4d0436

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
################################################################################
55
# BUILD JAR
66

7-
ARG PROJECT_VERSION
8-
97
FROM maven:3-eclipse-temurin-21-alpine AS builder
108

119
WORKDIR /builder
1210

1311
ADD . /builder
1412

1513
# https://maven.apache.org/ref/current/maven-embedder/cli.html
14+
ARG PROJECT_VERSION
1615
RUN mvn --quiet --batch-mode --update-snapshots --fail-fast -DskipTests -Drevision=${PROJECT_VERSION} package
1716

1817
################################################################################

0 commit comments

Comments
 (0)