hijack shell to git clone

This commit is contained in:
bel
2023-10-28 09:02:48 -06:00
parent dceb23de17
commit e48614f8b5
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
FROM docker:24.0.7-dind-alpine3.18
RUN apk update && apk --no-cache add bash curl git
RUN mv $(which sh) /bin/sh.sh; mv $(which bash /bin/bash.sh)
COPY ./entrypoint.sh /bin/sh
COPY ./entrypoint.sh /bin/bash
RUN chmod +x /bin/sh /bin/bash