Software /
code /
prosody
File
tools/build-env/build.sh @ 13476:b9267ce1b183
mod_version: Fix uname result style (thanks riau)
`result[, err]`, not `ok, err|result`, must have confused it with pcall
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Apr 2024 18:36:00 +0200 |
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}"