diff --git a/docker/Dockerfile b/docker/Dockerfile index 71e08ef..3c1cecf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ 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 /pth_05.rpm +COPY rpm/target/rpm/com.teragrep-pth_05/RPMS/noarch/com.teragrep-pth_05-*.rpm /pth_05.rpm RUN yum install -y /pth_05.rpm && rm -f /pth_05.rpm && yum clean all ENV PTH_05_ENDPOINT="http://0.0.0.0:8080" @@ -18,5 +18,5 @@ ENV PTH_05_PROVIDER_ENDPOINT="https://s3.default.tld:443" COPY docker/docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh - +USER srv-s3gw ENTRYPOINT ["/docker-entrypoint.sh"]