provided 777 to /home/drone
This commit is contained in:
parent
79700f47fe
commit
487521c8bc
@ -5,5 +5,6 @@ ADD posix/* /usr/local/bin/
|
|||||||
RUN adduser -g Drone -s /bin/sh -D -u 1000 drone
|
RUN adduser -g Drone -s /bin/sh -D -u 1000 drone
|
||||||
RUN echo 'drone ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/drone
|
RUN echo 'drone ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/drone
|
||||||
USER drone:drone
|
USER drone:drone
|
||||||
|
RUN chmod -R 777 /home/drone
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/clone"]
|
ENTRYPOINT ["/usr/local/bin/clone"]
|
@ -14,7 +14,6 @@ fi
|
|||||||
|
|
||||||
if [ "$HOME" != "/home/drone" ]; then
|
if [ "$HOME" != "/home/drone" ]; then
|
||||||
export HOME=/home/drone
|
export HOME=/home/drone
|
||||||
sudo chmod 766 /home/drone
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if the home directory does not exist it should
|
# if the home directory does not exist it should
|
||||||
|
Loading…
Reference in New Issue
Block a user