Docker succesfully pushes changed files to
other repository.
This commit is contained in:
@@ -4,9 +4,6 @@ FROM alpine:latest
|
||||
ENV DEBMIRRORURL="https://www.debian.org/mirror/list"
|
||||
ENV EXTRAREPOS=True
|
||||
ENV SECURITYREPOS=True
|
||||
ENV GITURLPROTO=https
|
||||
ENV GITURL=tea.shupogaki.org
|
||||
ENV GITREPOPATH=YuruC3/Debain-repos.git
|
||||
|
||||
RUN apk update && \
|
||||
apk add python3 py3-pip git
|
||||
@@ -15,9 +12,9 @@ RUN apk update && \
|
||||
RUN mkdir /etc/debmirror
|
||||
WORKDIR /etc/debmirror/
|
||||
|
||||
RUN git clone {{GITURLPROTO}}://{{GITURL}}/{{GITREPOPATH}} && \
|
||||
ln -s /etc/debmirror/Debain-repos/MirrorListV4 /etc/debmirror/MirrorListV4 && \
|
||||
ln -s /etc/debmirror/Debain-repos/MirrorListV6 /etc/debmirror/MirrorListV6
|
||||
RUN git clone https://tea.shupogaki.org/YuruC3/Repo-IP-lists && \
|
||||
ln -s /etc/debmirror/Repo-IP-lists/MirrorListV4 /etc/debmirror/MirrorListV4 && \
|
||||
ln -s /etc/debmirror/Repo-IP-lists/MirrorListV6 /etc/debmirror/MirrorListV6
|
||||
# RUN touch /etc/debmirror/MirrorListV6 && \
|
||||
# touch /etc/debmirror/MirrorListV4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user