aboutsummaryrefslogtreecommitdiff
path: root/docker/dockerfile
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-26 00:05:46 +0800
committerKunoiSayami <[email protected]>2022-10-26 00:05:46 +0800
commit685c74c4fa212b132c55be1c91e5b366a3593b83 (patch)
tree25a9aa9024f517ce51107c89e60267fea56f105e /docker/dockerfile
parent596fc2317eae72d006e4c528ac3f14c4d9d712e8 (diff)
refactor: Move script out from ng folder
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'docker/dockerfile')
-rw-r--r--docker/dockerfile12
1 files changed, 10 insertions, 2 deletions
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