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