Skip to content

Commit aa34a6b

Browse files
davidheryantofeast-ci-bot
authored andcommitted
Define revision property when packaging jars in Dockerfile (feast-dev#410)
1 parent 57b3887 commit aa34a6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infra/docker/core/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WORKDIR /build
1212
# the existing .m2 directory to $FEAST_REPO_ROOT/.m2
1313
#
1414
ENV MAVEN_OPTS="-Dmaven.repo.local=/build/.m2/repository -DdependencyLocationsEnabled=false"
15-
RUN mvn --also-make --projects core,ingestion \
15+
RUN mvn --also-make --projects core,ingestion -Drevision=$REVISION \
1616
-DskipTests=true --batch-mode package
1717
#
1818
# Unpack the jar and copy the files into production Docker image

infra/docker/serving/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WORKDIR /build
1212
# the existing .m2 directory to $FEAST_REPO_ROOT/.m2
1313
#
1414
ENV MAVEN_OPTS="-Dmaven.repo.local=/build/.m2/repository -DdependencyLocationsEnabled=false"
15-
RUN mvn --also-make --projects serving \
15+
RUN mvn --also-make --projects serving -Drevision=$REVISION \
1616
-DskipTests=true --batch-mode package
1717

1818
# ============================================================

0 commit comments

Comments
 (0)