fix: linux ownership

This commit is contained in:
Erica Marigold 2023-07-24 20:40:46 +05:30 committed by GitHub
parent 83be432586
commit bfc7f46c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ COPY . /home/builder/packaging_scripts
RUN mv /home/builder/packaging_scripts/ssh_config /home/builder/.ssh/config RUN mv /home/builder/packaging_scripts/ssh_config /home/builder/.ssh/config
RUN chown -R builder:builder /home/builder/.ssh && \ RUN chown -R builder:builder /home/builder/.ssh && \
chmod 600 /home/builder/.ssh/* -R chmod 600 /home/builder/.ssh/* -R && \
chown -R builder:builder /home/builder/packaging_scripts
USER builder USER builder
WORKDIR /home/builder WORKDIR /home/builder