2024-12-05 23:14:31 +00:00
|
|
|
FROM docker.io/library/alpine:3.21.0
|
2023-10-01 16:54:37 +00:00
|
|
|
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"]
|