git-docker/Dockerfile
CSRBot 2a2b0ae7fb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update docker.io/library/alpine docker tag to v3.20.1
2024-07-13 19:14:48 +00:00

19 lines
397 B
Docker

FROM docker.io/library/alpine:3.20.1
RUN apk add --no-cache \
bash \
ca-certificates \
curl \
git \
git-lfs \
openssh \
perl \
sudo
ADD rootfs /
# 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"]