diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-22 15:34:37 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-22 15:34:37 +0100 |
commit | 73019ecfcc10127b2609312100e9741aae932cab (patch) | |
tree | 64da71e750723f3a6e1e12e5a5115a8cb8c5b004 | |
parent | 20508b365ed7b33f8f61d822a2269a1f90222c8e (diff) | |
download | s2i-virtio-spec-73019ecfcc10127b2609312100e9741aae932cab.tar.gz |
add useradd call
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -64,10 +64,7 @@ RUN dnf install -y liberation-fonts \ COPY ./s2i/bin/ /usr/libexec/s2i COPY ./etc/virtio-spec-documentroot.conf /etc/httpd/conf.d/ -RUN mkdir -p /opt/app-root;\ - chmod 755 /opt; \ - chmod 755 /opt/app-root; \ - chown 1001 /opt/app-root; +RUN useradd -d /opt/app-root/src -u 1001 default USER 1001 EXPOSE 8080 |