File: run_docker.sh

package info (click to toggle)
libcotp 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 204 kB
  • sloc: ansic: 1,264; sh: 5; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/bin/bash

if [[ -z "$1" ]]; then
    echo "Usage: $0 <branch-name>"
    exit 1
fi

docker build -t "testme:Dockerfile" --build-arg BRANCH="$1" .