File: help

package info (click to toggle)
obs-build 20210120-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,080 kB
  • sloc: perl: 11,428; sh: 3,340; ansic: 285; makefile: 172
file content (8 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
Start the building with this command from the obs-build root directory:

BUILD_DIR=$PWD BUILD_ROOT=/tmp/build/ ./build --cachedir=/tmp/build/cache obs_example/Dockerfile


Run the parser with an one liner (against the obs_example/Dockerfile):

perl -e "use Cwd 'abs_path'; use lib abs_path('Build'); use Build::Docker; Build::Docker::parse('', abs_path('obs_example/Dockerfile'))"