Working OPNsense thing.

Now to integrate it into main
This commit is contained in:
YuruC3
2025-05-14 09:57:06 +02:00
parent 6beadaba5f
commit 17423793f1
9 changed files with 289 additions and 170 deletions

View File

@@ -4,6 +4,9 @@ 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
@@ -12,7 +15,7 @@ RUN apk update && \
RUN mkdir /etc/debmirror
WORKDIR /etc/debmirror/
RUN git clone https://tea.shupogaki.org/YuruC3/Debain-repos && \
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 touch /etc/debmirror/MirrorListV6 && \