Added zabbix repo

This commit is contained in:
2024-12-27 11:52:58 +01:00
parent 9b82cb2823
commit 0d4fe31f24

View File

@@ -7,6 +7,8 @@ FROM public.ecr.aws/docker/library/eclipse-temurin:23.0.1_11-jre AS runner
LABEL authors="skydust" LABEL authors="skydust"
WORKDIR /app WORKDIR /app
RUN wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb
RUN dpkg -i zabbix-release_latest_7.2+ubuntu24.04_all.deb && rm zabbix-release_latest_7.2+ubuntu24.04_all.deb
RUN apt update && apt install -y zabbix-sender && rm -rf /var/lib/apt/lists/* RUN apt update && apt install -y zabbix-sender && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/build/libs/JdrBot.jar /app/JdrBot.jar COPY --from=builder /app/build/libs/JdrBot.jar /app/JdrBot.jar