Skip to content

Commit

Permalink
Append slash to copy destination in adService Dockerfile (#1530)
Browse files Browse the repository at this point in the history
As described in Docker docs:

If multiple <src> resources are specified, either directly or due to the use of a wildcard, then <dest> must be a directory, and it must end with a slash /.

Having no slash at the end of this command may make Docker build fail under certain circumstances.

Co-authored-by: Austin Parker <austin@ap2.io>
  • Loading branch information
danielgblanco and austinlparker authored Apr 15, 2024
1 parent e5c45b9 commit 95a3b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM eclipse-temurin:21-jdk as builder

WORKDIR /usr/src/app/

COPY ./src/adservice/gradlew* ./src/adservice/settings.gradle* ./src/adservice/build.gradle .
COPY ./src/adservice/gradlew* ./src/adservice/settings.gradle* ./src/adservice/build.gradle ./
COPY ./src/adservice/gradle ./gradle

RUN ./gradlew
Expand Down

0 comments on commit 95a3b5c

Please sign in to comment.