File: run-on-distro

package info (click to toggle)
python-sshsig 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: python: 901; sh: 53; makefile: 9
file content (11 lines) | stat: -rwxr-xr-x 232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash
set -o errexit -o nounset

DISTRO=$1
shift

if [[ ! -v REPO_NAMESPACE ]]; then
  REPO_NAMESPACE="registry.gitlab.com/perm.pub/dock"
fi

podman run --rm -it -v $PWD:/mnt -w /mnt $REPO_NAMESPACE/hidos-dev/$DISTRO "$@"