Skip to content

Commit

Permalink
Use Gradle wrapper in Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 24, 2023
1 parent 7c44d26 commit 98f91c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM gradle:jdk19 as builder
WORKDIR /usr/app
COPY . .
RUN gradle --no-daemon :plugin:installBot
RUN ./gradlew --no-daemon plugin:installBotArchive

FROM ibm-semeru-runtimes:open-19-jre-focal

LABEL org.opencontainers.image.source = "https://github.com/Votebot/votebot-plugin"
FROM eclipse-temurin:19-jre-alpine

WORKDIR /usr/app
COPY --from=builder /usr/app/plugin/build/installVoteBot .
COPY --from=builder /usr/app/plugin/build/installBot .

ENTRYPOINT ["/usr/app/bin/mikmusic"]
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit 98f91c4

Please sign in to comment.