Generate packages using musl
Signed-off-by: Konrad Scherer <kmscherer@gmail.com>
This commit is contained in:
parent
1a89e4a6f8
commit
17b3d6be84
2 changed files with 3 additions and 3 deletions
|
@ -3,8 +3,8 @@ FROM debian:jessie
|
||||||
MAINTAINER Chris Kuehl <ckuehl@yelp.com>
|
MAINTAINER Chris Kuehl <ckuehl@yelp.com>
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
build-essential devscripts equivs && \
|
build-essential devscripts equivs musl-tools python python-pytest python-mock && \
|
||||||
apt-get clean
|
rm -rf /var/lib/apt/lists/* && apt-get clean
|
||||||
WORKDIR /mnt
|
WORKDIR /mnt
|
||||||
|
|
||||||
ENTRYPOINT mk-build-deps -i --tool 'apt-get --no-install-recommends -y' && make builddeb
|
ENTRYPOINT mk-build-deps -i --tool 'apt-get --no-install-recommends -y' && make builddeb
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -66,7 +66,7 @@ clean-tox:
|
||||||
|
|
||||||
.PHONY: builddeb
|
.PHONY: builddeb
|
||||||
builddeb:
|
builddeb:
|
||||||
debuild -us -uc -b
|
debuild --set-envvar=CC=musl-gcc -us -uc -b
|
||||||
rm -rf dist && mkdir dist
|
rm -rf dist && mkdir dist
|
||||||
mv ../dumb-init_*.deb dist/
|
mv ../dumb-init_*.deb dist/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue