Generate packages using musl

Signed-off-by: Konrad Scherer <kmscherer@gmail.com>
This commit is contained in:
Konrad Scherer 2016-01-07 13:47:36 -05:00
parent 1a89e4a6f8
commit 17b3d6be84
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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/