From 685c74c4fa212b132c55be1c91e5b366a3593b83 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Wed, 26 Oct 2022 00:05:46 +0800 Subject: refactor: Move script out from ng folder Signed-off-by: KunoiSayami --- docker/dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/dockerfile b/docker/dockerfile index d7b613d..bbc682f 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -26,10 +26,18 @@ RUN if [ ! -r /home/build/hook.sh ]; then reflector --save /etc/pacman.d/mirrorl RUN pacman --noconfirm --needed -Sy archlinux-keyring -RUN pacman --noconfirm --needed -Su base-devel gnupg git yay python python-aiohttp python-aiofiles +RUN pacman --noconfirm --needed -Su base-devel gnupg git yay + +RUN pacman --noconfirm --needed -S python python-aiohttp python-aiofiles moreutils RUN echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers +# ADD repos /home/build/repos + +# RUN chown -R build:build /home/build/repos + USER build -ENTRYPOINT ["bash", "-c", "/home/build/repos/utils/ng/pkgbuild_bootstrap"] +# ENTRYPOINT ["bash", "-c", "/home/build/repos/utils/pkgbuild_bootstrap"] + +ENTRYPOINT ["bash", "-c", "/home/build/dockerbuild.sh"] \ No newline at end of file -- cgit v1.3.1