Software /
code /
prosody
File
tools/build-env/build.sh @ 13431:4698f1e36e02
util.ip: Remove ip.bits and related code, switch to more efficient strbitop
100,000 iterations of match() on my laptop from 3.5s -> 0.5s.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 23 Feb 2024 12:14:51 +0000 |
parent | 13403:0369f6986824 |
line wrap: on
line source
#!/bin/sh -eux cd "$(dirname "$0")" containerify="$(command -v podman || command -v docker)" if [ -z "$containerify" ]; then echo "podman or docker required" >&2 exit 1 fi $containerify build -f ./Containerfile --squash \ --build-arg os="${2:-debian}" \ --build-arg dist="${1:-testing}" \ -t "prosody.im/build-env:${1:-testing}"