2015-08-05 03:15:08 +03:00
|
|
|
FROM debian:jessie
|
|
|
|
|
|
|
|
MAINTAINER Chris Kuehl <ckuehl@yelp.com>
|
2016-01-08 00:51:50 +03:00
|
|
|
|
|
|
|
# Install the bare minimum dependencies necessary for working with Debian
|
|
|
|
# packages. Build dependencies should be added under "Build-Depends" inside
|
|
|
|
# debian/control instead.
|
2015-08-05 03:15:08 +03:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
2015-08-10 19:32:56 +03:00
|
|
|
apt-get install -y --no-install-recommends \
|
2016-01-07 21:47:36 +03:00
|
|
|
build-essential devscripts equivs musl-tools python python-pytest python-mock && \
|
|
|
|
rm -rf /var/lib/apt/lists/* && apt-get clean
|
2015-08-05 03:15:08 +03:00
|
|
|
WORKDIR /mnt
|
|
|
|
|
2016-01-08 00:51:50 +03:00
|
|
|
ENTRYPOINT apt-get update && \
|
|
|
|
mk-build-deps -i --tool 'apt-get --no-install-recommends -y' && \
|
|
|
|
make builddeb
|