diff options
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/dockerbuild.sh | 7 | ||||
| -rw-r--r-- | docker/dockerfile | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docker/dockerbuild.sh b/docker/dockerbuild.sh index 650c1db..ffdc875 100755 --- a/docker/dockerbuild.sh +++ b/docker/dockerbuild.sh @@ -4,7 +4,12 @@ set -Eeuo pipefail sudo pacman -Sy cd /home/build -if [ ! -d repos ] || [ "$(ls -A repos)" ]; then + +if [ -f ./hook-run.sh ]; then + . ./hook-run.sh +fi + +if [ ! -d repos ]; then git clone --depth=3 https://github.com/kunoisayami/repos diff --git a/docker/dockerfile b/docker/dockerfile index dcef1bb..5c3e635 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -28,7 +28,7 @@ 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 moreutils +RUN pacman --noconfirm --needed -S python python-aiohttp python-aiofiles python-aiohttp-socks moreutils RUN echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers |
