From 640be0dd710e8e048bc6a4111569f8f812e7468a Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:54:38 +0200 Subject: [PATCH] Hopefully fixes rest of the docker build (#9) --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 15dd303..7ed5aa1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,8 +3,8 @@ FROM centos:7 RUN yum -y install java-11-openjdk \ && yum clean all -COPY rpm/target/rpm/com.teragrep-pth_05/RPMS/x86_64/com.teragrep-pth_05-*.rpm /rpm/ -RUN yum install -y /pth_05.rpm +COPY rpm/target/rpm/com.teragrep-pth_05/RPMS/x86_64/com.teragrep-pth_05-*.rpm /pth_05.rpm +RUN yum install -y /pth_05.rpm && rm -f /pth_05.rpm && dnf clean all ENV PTH_05_ENDPOINT="http://0.0.0.0:8080" ENV PTH_05_CREDENTIALS_FILE="/opt/teragrep/pth_05/etc/credentials.json"