fix: execute bit perms

This commit is contained in:
Erica Marigold 2023-08-01 11:53:13 +05:30 committed by GitHub
parent a4ecc3261b
commit 1a122cce4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,13 +20,13 @@ COPY lune/ /home/builder/packages/lune
COPY ./entrypoint.sh /home/builder/packages/entrypoint.sh
RUN chown -R builder:builder /home/builder/packages && \
chmod 600 /home/builder/packages/* -R && \
chown -R builder:builder /home/builder/packages/lune-bin && \
chmod 600 /home/builder/packages/lune-bin -R && \
chown -R builder:builder /home/builder/packages/lune-git && \
chmod 600 /home/builder/packages/lune-git -R && \
chown -R builder:builder /home/builder/packages/lune && \
chmod 600 /home/builder/packages/lune -R && \
chmod 700 /home/builder/packages/* -R && \
# chown -R builder:builder /home/builder/packages/lune-bin && \
# chmod 600 /home/builder/packages/lune-bin -R && \
# chown -R builder:builder /home/builder/packages/lune-git && \
# chmod 600 /home/builder/packages/lune-git -R && \
# chown -R builder:builder /home/builder/packages/lune && \
# chmod 600 /home/builder/packages/lune -R && \
chmod +x /home/builder/packages/*.sh
USER builder