-
Notifications
You must be signed in to change notification settings - Fork 347
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
1 parent
ad20525
commit f3535cb
Showing
3 changed files
with
31 additions
and
4 deletions.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM debian:jessie | ||
|
||
MAINTAINER Chris Kuehl <[email protected]> | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential devscripts equivs && \ | ||
apt-get clean | ||
WORKDIR /mnt | ||
|
||
ENTRYPOINT mk-build-deps -i && make builddeb |
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,6 +1,23 @@ | ||
.PHONY: build | ||
.PHONY: build clean builddeb builddeb-docker itest_lucid itest_precise itest_trusty | ||
build: | ||
gcc -static -Wall -Werror -o dumb-init dumb-init.c | ||
$(CC) -static -Wall -Werror -o dumb-init dumb-init.c | ||
|
||
clean: | ||
rm -rf dumb-init | ||
rm -rf dumb-init dist | ||
|
||
builddeb: | ||
rm -rf dist && mkdir -p dist | ||
debuild -us -uc -b | ||
mv ../dumb-init_*.deb dist | ||
|
||
builddeb-docker: docker-image | ||
docker run -v $(PWD):/mnt dumb-init-build | ||
|
||
docker-image: | ||
docker build -t dumb-init-build . | ||
|
||
itest_lucid: docker_build | ||
|
||
itest_precise: docker_build | ||
|
||
itest_trusty: docker_build |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ Source: dumb-init | |
Section: utils | ||
Priority: extra | ||
Maintainer: Chris Kuehl <[email protected]> | ||
Build-Depends: debhelper (>= 7), gcc | ||
Build-Depends: debhelper (>= 7), gcc, fakeroot | ||
Standards-Version: 3.9.6 | ||
|
||
Package: dumb-init | ||
|