diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index f0c67ea..1b3b33d 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -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"] \ No newline at end of file diff --git a/posix/clone b/posix/clone index 2a1ddc0..93e9a0e 100755 --- a/posix/clone +++ b/posix/clone @@ -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