Skip to content

Commit

Permalink
Use third party runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Smetanka committed Oct 19, 2024
1 parent aff5715 commit c93bd21
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
runs-on: buildjet-2vcpu-ubuntu-2204
strategy:
matrix:
include:
Expand Down
13 changes: 13 additions & 0 deletions builder/bpim4.json.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ build {
"data/64bit/usr/bin/pwnlib",
]
}
provisioner "shell" {
inline = [
# Ensure DNS configuration inside chroot
"cp /etc/resolv.conf /mnt/etc/resolv.conf",
]
}
provisioner "shell" {
inline = [
# Force apt to use IPv4
"echo 'Acquire::ForceIPv4 \"true\";' | sudo tee /mnt/etc/apt/apt.conf.d/99force-ipv4"
]
}

provisioner "shell" {
inline = ["chmod +x /usr/bin/*"]
}
Expand Down

0 comments on commit c93bd21

Please sign in to comment.