provided 777 to /home/drone

This commit is contained in:
Shubham Agrawal 2021-05-06 19:39:42 +05:30
parent 79700f47fe
commit 487521c8bc
2 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,6 @@ ADD posix/* /usr/local/bin/
RUN adduser -g Drone -s /bin/sh -D -u 1000 drone
RUN echo 'drone ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/drone
USER drone:drone
RUN chmod -R 777 /home/drone
ENTRYPOINT ["/usr/local/bin/clone"]

View File

@ -14,7 +14,6 @@ fi
if [ "$HOME" != "/home/drone" ]; then
export HOME=/home/drone
sudo chmod 766 /home/drone
fi
# if the home directory does not exist it should