summaryrefslogtreecommitdiffstats
path: root/image-builder/config
blob: 8b5231323cd9710a881f2b966761030263027d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Shared configuration for the sbo-testbuild image builder.
# Sourced by bootstrap.sh, build-full-image.sh, build-sbo-testbuild.sh, tests.

REGISTRY="docker.noland.dnx:5000"
MIRROR="file:///mnt/nas"
VARIANTS=(current 15.0)              # x86_64 only for now
PKGDIR="/opt/sbo-testbuild/pkgs"     # sbopkg + sbo-maintainer-tools .txz
HASH_DIR="/var/cache/sbo-testbuild"  # ChangeLog hashes for rebuild gating

# During the full-image build, packages are served to the build container off
# the local NFS mirror (MIRROR) over HTTP on the docker bridge, so slackpkg
# fetches from LAN instead of the internet. The bridge-gateway IP is what the
# build container sees as the host; the port is ephemeral to this host.
HTTP_MIRROR_HOST="172.17.0.1"        # docker0 bridge gateway (host from container)
HTTP_MIRROR_PORT="8099"