Skip to content

Commit 2f0c84b

Browse files
authored
Merge pull request #22 from esep/dockerfile_build_jar_filename_fix
Fixed Dockerfile_build jar file copy step
2 parents e82853b + e670404 commit 2f0c84b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile_build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ RUN mvn package
1414
# ENTRYPOINT java -jar /code/target/javafxlibrary-*-SNAPSHOT-jar-with-dependencies.jar
1515

1616
FROM ubuntu:16.04
17-
COPY --from=builder /code/target/javafxlibrary-*-SNAPSHOT-jar-with-dependencies.jar /.
18-
COPY --from=builder /code/target/javafxlibrary-*-SNAPSHOT-tests.jar /.
17+
COPY --from=builder /code/target/javafxlibrary-*-jar-with-dependencies.jar /.
18+
COPY --from=builder /code/target/javafxlibrary-*-tests.jar /.
19+
RUN echo "Built following jar files" && ls -latr /*.jar
1920
COPY entrypoint_build.sh /.
2021
RUN apt-get -qq update && apt-get dist-upgrade -y && apt-get install -qq --no-install-recommends --allow-unauthenticated -y \
2122
openjdk-8-jre \

0 commit comments

Comments
 (0)