FROM docker:20-dind RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \ && apk add --no-cache python3 py3-pip \ && ln -sf python3 /usr/bin/python \ && python3 -m ensurepip \ && pip3 install --no-cache --upgrade pip setuptools \ && pip install kubernetes requests \ && rm -rf /var/cache/apk/* WORKDIR /app COPY . . RUN chmod 600 -R ssh