git-docker/docker/Dockerfile.linux.arm64

10 lines
330 B
Docker
Raw Normal View History

2021-05-05 01:07:07 +00:00
FROM arm64v8/alpine:3.12
2021-05-06 14:40:24 +00:00
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli sudo
2018-08-08 21:43:53 +00:00
ADD posix/* /usr/local/bin/
2021-05-06 14:40:24 +00:00
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
2018-08-08 21:43:53 +00:00
ENTRYPOINT ["/usr/local/bin/clone"]