Skip to content

Commit

Permalink
Docker build fails for java feature server (#2230)
Browse files Browse the repository at this point in the history
Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
  • Loading branch information
pyalex authored Jan 20, 2022
1 parent e0a36fa commit feb923b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions java/infra/docker/feature-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ FROM maven:3.6-jdk-11 as builder
WORKDIR /build

COPY java/pom.xml .
COPY java/datatypes/java/pom.xml datatypes/java/pom.xml
COPY java/datatypes/pom.xml datatypes/pom.xml
COPY java/common/pom.xml common/pom.xml
COPY java/serving/pom.xml serving/pom.xml
COPY java/storage/api/pom.xml storage/api/pom.xml
COPY java/storage/connectors/pom.xml storage/connectors/pom.xml
COPY java/storage/connectors/redis/pom.xml storage/connectors/redis/pom.xml
COPY java/sdk/java/pom.xml sdk/java/pom.xml
COPY java/docs/coverage/java/pom.xml docs/coverage/java/pom.xml
COPY java/sdk/pom.xml sdk/pom.xml
COPY java/docs/coverage/pom.xml docs/coverage/pom.xml

# Setting Maven repository .m2 directory relative to /build folder gives the
# user to optionally use cached repository when building the image by copying
Expand All @@ -24,7 +24,7 @@ COPY java/pom.xml .m2/* .m2/
RUN mvn dependency:go-offline -DexcludeGroupIds:dev.feast 2>/dev/null || true

COPY java/ .
COPY protos/feast datatypes/java/src/main/proto/feast
COPY protos/feast datatypes/src/main/proto/feast

ARG VERSION=dev
RUN mvn --also-make --projects serving -Drevision=$VERSION \
Expand Down

0 comments on commit feb923b

Please sign in to comment.