-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# debian/rules would use this Makefile if named so over the default debuild | ||
# make targets, thus we should avoid naming this file Makefile | ||
|
||
build_init: | ||
build_init: # rerun to copy the files into the builder | ||
docker build -t debian-package-builder . | ||
|
||
build_run: # builds in a docker container and output to the ./out/ dir | ||
mkdir -p $$(pwd)/out | ||
docker run --rm -v $$(pwd)/out:/pkg debian-package-builder | ||
|
||
build_debug: # run a bash into the container for debugging | ||
mkdir -p $$(pwd)/out | ||
docker run -it --rm -v $$(pwd)/out:/pkg debian-package-builder /bin/bash | ||
|
||
build_clean: | ||
docker rm debian-package-builder |