diff --git a/Dockerfile b/Dockerfile index 7214d96..800e0f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]