Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmueller authored Feb 12, 2024
1 parent a520a54 commit c27e218
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ ADD pom.xml /usr/src/app
WORKDIR /usr/src/app
RUN mvn clean install

FROM openjdk:11-jre-slim
FROM ghcr.io/senergy-platform/analytics-operator-base:latest
LABEL org.opencontainers.image.source https://github.com/SENERGY-Platform/analytics-operator-ac-window-monitor
ENV NAME ac-window-monitor
COPY --from=builder /usr/src/app/target/operator-${NAME}-jar-with-dependencies.jar /opt/operator.jar
ADD https://github.com/jmxtrans/jmxtrans-agent/releases/download/jmxtrans-agent-1.2.6/jmxtrans-agent-1.2.6.jar opt/jmxtrans-agent.jar
CMD ["java","-jar","/opt/operator.jar"]

0 comments on commit c27e218

Please sign in to comment.