You've already forked git-docker
revert to root due to npm issues
This commit is contained in:
@ -2,9 +2,10 @@ FROM alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
@ -2,8 +2,10 @@ FROM arm32v6/alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
||||
|
@ -2,8 +2,10 @@ FROM arm32v6/alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
||||
|
@ -2,8 +2,10 @@ FROM arm64v8/alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
||||
|
@ -2,8 +2,10 @@ FROM arm32v6/alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
||||
|
@ -2,8 +2,10 @@ FROM arm64v8/alpine:3.12
|
||||
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
|
||||
|
||||
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
|
||||
|
||||
# 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"]
|
||||
|
Reference in New Issue
Block a user