File: package_elfutils.sh

package info (click to toggle)
hotspot 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 12,084 kB
  • sloc: cpp: 17,854; ansic: 218; sh: 195; python: 40; xml: 40; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

cd $(dirname $0)

artifacts="/tmp/package-elfutils-artifacts"

if [ ! -d "$artifacts" ]; then
    mkdir "$artifacts"
fi

sudo docker build -t package_elfutils . || exit 1
sudo docker run -v "$artifacts":/artifacts -it package_elfutils
mv -v "$artifacts"/elfutils.build.tar.bz2 .