Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
AH-dark committed Dec 8, 2023
2 parents c332f55 + c515b38 commit 7c20f5b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Generated with JReleaser 1.9.0 at 2023-12-07T17:27:52.061614703Z
# Generated with JReleaser 1.9.0 at 2023-12-08T17:21:38.144159535Z
FROM azul/zulu-openjdk-alpine:17-jre

LABEL "org.opencontainers.image.title"="ahdark-blog-releaser"
LABEL "org.opencontainers.image.description"="AHdark Blog Release Notification Service"
LABEL "org.opencontainers.image.url"="https://github.com/aH-dark/ahdark-blog-releaser"
LABEL "org.opencontainers.image.licenses"="MIT"
LABEL "org.opencontainers.image.version"="1.0.0"
LABEL "org.opencontainers.image.revision"="c6de4de35fc0de7c697f9a6443ac0483d95eb2b0"
LABEL "org.opencontainers.image.version"="1.0.2"
LABEL "org.opencontainers.image.revision"="780e1748ef16c2bf09a8025ccace4b6f414f623d"


COPY assembly/ /

RUN unzip ahdark-blog-releaser-1.0.0.zip && \
rm ahdark-blog-releaser-1.0.0.zip && \
chmod +x ahdark-blog-releaser-1.0.0/bin/ahdark-blog-releaser
RUN mkdir -p /ahdark-blog-releaser-1.0.2/bin && \
mkdir -p /ahdark-blog-releaser-1.0.2/lib && \
mv /ahdark-blog-releaser /ahdark-blog-releaser-1.0.2/bin && \
chmod +x /ahdark-blog-releaser-1.0.2/bin/ahdark-blog-releaser && \
mv /ahdark-blog-releaser-all.jar /ahdark-blog-releaser-1.0.2/lib

ENV PATH="${PATH}:/ahdark-blog-releaser-1.0.2/bin"

ENV PATH="${PATH}:/ahdark-blog-releaser-1.0.0/bin"

ENTRYPOINT ["/ahdark-blog-releaser-1.0.0/bin/ahdark-blog-releaser"]
ENTRYPOINT ["/ahdark-blog-releaser-1.0.2/bin/ahdark-blog-releaser"]
CMD ["ahdark-blog-releaser"]
6 changes: 6 additions & 0 deletions assembly/ahdark-blog-releaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
# Generated with JReleaser 1.9.0 at 2023-12-08T17:21:38.144159535Z

$JAVA_HOME/bin/java $JAVA_OPTS \
-jar /ahdark-blog-releaser-1.0.2/lib/ahdark-blog-releaser-all.jar \
"$@"
Binary file not shown.

0 comments on commit 7c20f5b

Please sign in to comment.