|
@ -9,7 +9,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re |
|
|
&& pip install --no-cache kubernetes requests docker -i https://pypi.tuna.tsinghua.edu.cn/simple \ |
|
|
&& pip install --no-cache kubernetes requests docker -i https://pypi.tuna.tsinghua.edu.cn/simple \ |
|
|
&& rm -rf /var/cache/apk/* \ |
|
|
&& rm -rf /var/cache/apk/* \ |
|
|
&& usermod -aG ping rootless \ |
|
|
&& usermod -aG ping rootless \ |
|
|
&& echo "0 1 * * * run-parts /app/syncimages.py" >> /etc/crontabs/root |
|
|
&& echo "#!/bin/sh \n\ |
|
|
|
|
|
python syncimages.py " >> /etc/periodic/daily/sync-images \ |
|
|
|
|
|
&& chmod +x /etc/periodic/daily/sync-images |
|
|
|
|
|
|
|
|
WORKDIR /app |
|
|
WORKDIR /app |
|
|
|
|
|
|
|
|