aboutsummaryrefslogtreecommitdiff
path: root/docker/dockerfile
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-12-05 15:21:42 +0800
committerKunoiSayami <[email protected]>2023-12-05 15:21:42 +0800
commit9c97c23c5ce37fa7254ec9b6a9effc42ff9f5dcf (patch)
treee3a9eef45bbea4a56766820086ef080443a81fe7 /docker/dockerfile
parent770165cc7fafdb4228c4288ae0ed114a59a914d3 (diff)
refactor: Move docker folder into utils
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'docker/dockerfile')
-rw-r--r--docker/dockerfile47
1 files changed, 0 insertions, 47 deletions
diff --git a/docker/dockerfile b/docker/dockerfile
deleted file mode 100644
index 78d8cdf..0000000
--- a/docker/dockerfile
+++ /dev/null
@@ -1,47 +0,0 @@
-FROM repobuildbase:latest
-
-ARG REMOTE_ADDRESS
-
-RUN echo -n -e '\n[kunoisayami]\nServer = ' >> /etc/pacman.conf
-
-RUN echo ${REMOTE_ADDRESS} >> /etc/pacman.conf
-
-RUN pacman-key --init
-
-RUN curl -fL https://keys.openpgp.org/vks/v1/by-fingerprint/4A0F0C8BC709ACA4341767FB243975C8DB9656B9 | pacman-key --add -
-
-RUN pacman-key --finger 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
-
-RUN pacman-key --lsign-key 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
-
-RUN useradd -m build
-
-COPY initfolder.sh hook*.sh /home/build/
-
-RUN if [ -r /home/build/hook.sh ]; then /home/build/hook.sh; fi
-
-RUN if [ ! -r /home/build/hook.sh ]; then pacman --noconfirm --needed -Sy reflector; fi
-
-RUN if [ ! -r /home/build/hook.sh ]; then reflector --save /etc/pacman.d/mirrorlist --latest 2 --sort rate; fi
-
-RUN pacman --noconfirm --needed -Sy archlinux-keyring
-
-RUN pacman --noconfirm --needed -Su base-devel gnupg git yay
-
-RUN pacman --noconfirm --needed -S python python-aiohttp python-aiofiles python-aiohttp-socks python-asycio-timeout moreutils
-
-RUN echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers
-
-ADD repos /home/build/repos
-
-COPY dockerbuild.sh entrypoint.sh /home/build/
-
-RUN /home/build/initfolder.sh
-
-RUN if [ -r /home/build/hook-99.sh ]; then /home/build/hook-99.sh; fi
-
-USER build
-
-# ENTRYPOINT ["bash", "-c", "/home/build/repos/utils/pkgbuild_bootstrap"]
-
-ENTRYPOINT ["bash", "-c", "/home/build/entrypoint.sh"]