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