FROM alpine:3.21 RUN apk update --no-cache \ && apk add --no-cache \ make \ curl \ bash \ git \ && mkdir /mktools COPY ./tasks/* mktools/ RUN touch /mktools/Makefile \ && echo "-include /mktools/*.mk" >> /mktools/Makefile \ && mkdir /code \ && git config --global --add safe.directory /code WORKDIR /code COPY --chmod=550 ./misc/image/mktools /usr/local/bin/mktools ENTRYPOINT [ "mktools" ]