summaryrefslogtreecommitdiffstats
path: root/image-builder/config
diff options
context:
space:
mode:
Diffstat (limited to 'image-builder/config')
-rw-r--r--image-builder/config15
1 files changed, 15 insertions, 0 deletions
diff --git a/image-builder/config b/image-builder/config
new file mode 100644
index 0000000..8b52313
--- /dev/null
+++ b/image-builder/config
@@ -0,0 +1,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"