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"