diff options
Diffstat (limited to 'packages/apex-pdp-docker/src/main/docker')
-rw-r--r-- | packages/apex-pdp-docker/src/main/docker/Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/apex-pdp-docker/src/main/docker/Dockerfile b/packages/apex-pdp-docker/src/main/docker/Dockerfile index c16469a84..14f8a6a27 100644 --- a/packages/apex-pdp-docker/src/main/docker/Dockerfile +++ b/packages/apex-pdp-docker/src/main/docker/Dockerfile @@ -32,10 +32,11 @@ RUN chmod a+x /opt/app/policy/apex-pdp/bin/* # Copy examples to Apex user area RUN cp -pr /opt/app/policy/apex-pdp/examples /home/apexuser - -ENV PATH /opt/app/policy/apex-pdp/bin:$PATH - + RUN apt-get clean RUN chown -R apexuser:apexuser /home/apexuser/* + +USER apexuser +ENV PATH /opt/app/policy/apex-pdp/bin:$PATH WORKDIR /home/apexuser |