mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-01-08 01:55:30 +00:00
Explicitly set permissions for all copied files
This commit is contained in:
parent
14e5c6dc2d
commit
d065da672e
@ -81,8 +81,12 @@ COPY --from=build --chown=root:root /tmp/reactos.iso /var/lib/qemu/iso/reactos.i
|
||||
|
||||
# Copy services
|
||||
COPY --chown=root:root ./scripts/service/ /etc/service/
|
||||
RUN find /etc/service/ -type d -not -perm 0755 -exec chmod 0755 '{}' ';'
|
||||
RUN find /etc/service/ -type f -not -perm 0755 -exec chmod 0755 '{}' ';'
|
||||
|
||||
# Copy bin scripts
|
||||
COPY --chown=root:root ./scripts/bin/ /usr/local/bin/
|
||||
RUN find /usr/local/bin/ -type d -not -perm 0755 -exec chmod 0755 '{}' ';'
|
||||
RUN find /usr/local/bin/ -type f -not -perm 0755 -exec chmod 0755 '{}' ';'
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/container-init"]
|
||||
|
Loading…
Reference in New Issue
Block a user