File: build.sh

package info (click to toggle)
labgrid 0.4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,232 kB
  • sloc: python: 17,045; makefile: 30; sh: 12
file content (12 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -ex

export DOCKER_BUILDKIT=1

VERSION="$(./setup.py --version | tail -1)"

for t in client exporter coordinator; do
    docker build --build-arg VERSION="$VERSION" \
        --target labgrid-${t} -t labgrid-${t} -f dockerfiles/Dockerfile .
done