Skip to content

Commit

Permalink
fix image
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Oct 29, 2024
1 parent a21dc27 commit 951076f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 4 additions & 7 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ FROM ghcr.io/gardenlinux/gardenlinux:1592

EXPOSE 8080

ENV JAVA_HOME /user/java/jdk17
ENV PATH $JAVA_HOME/bin:$PATH
COPY --from=build /tinysapmachine $JAVA_HOME
RUN mkdir /glvd
COPY --from=build /usr/src/glvd/glvd-0.0.1-SNAPSHOT.jar /glvd/
WORKDIR /glvd
ENTRYPOINT java -jar glvd-0.0.1-SNAPSHOT.jar
COPY --from=build /tinysapmachine /jre
COPY --from=build /usr/src/glvd/glvd-0.0.1-SNAPSHOT.jar /

CMD ["/jre/bin/java", "-jar", "/glvd-0.0.1-SNAPSHOT.jar"]
1 change: 0 additions & 1 deletion include
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tmp
tinysapmachine
glvd
bin/sh

0 comments on commit 951076f

Please sign in to comment.