diff options
| author | KunoiSayami <[email protected]> | 2023-09-17 19:17:03 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-09-17 19:17:03 +0800 |
| commit | 35b38c50f9a8f0edc786265b6c21d7cf1da18666 (patch) | |
| tree | 723c03144fc5c1ba81df686e1c903179bb61bf2c /docker | |
| parent | a124e7d9b4528571819b87de99d47e274b66d3e2 (diff) | |
feat(script): Support proxy for upload
* fix(pkg): Fix liboping build
Signed-off-by: KunoiSayami <[email protected]>
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 |
