From 35b38c50f9a8f0edc786265b6c21d7cf1da18666 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sun, 17 Sep 2023 19:17:03 +0800 Subject: feat(script): Support proxy for upload * fix(pkg): Fix liboping build Signed-off-by: KunoiSayami --- docker/dockerbuild.sh | 7 ++++++- docker/dockerfile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'docker') 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 -- cgit v1.3.1