1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00
github.com_openSUSE_osc/behave/container-build.sh

12 lines
183 B
Bash
Executable File

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