1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00
github.com_openSUSE_osc/behave/container-build.sh

12 lines
183 B
Bash
Raw Normal View History

#!/bin/sh
TOPDIR=$(dirname $(readlink -f $0))
podman build "$@" \
--tag obs-server \
--volume="$TOPDIR":/opt/obs \
$TOPDIR \
2>&1 | tee container-build.log
exit $?