You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
614 B

  1. FROM tianon/debian-devel
  2. # start by adding just "debian/control" so we can get mk-build-deps with maximum caching
  3. ADD debian/control /usr/src/cgroupfs-mount/debian/
  4. WORKDIR /usr/src/cgroupfs-mount
  5. # get all the build deps of _this_ package in a nice repeatable way
  6. RUN apt-get update && mk-build-deps -irt'apt-get --no-install-recommends -yq' debian/control
  7. # need our debian/ directory (and our source) to compile _this_ package
  8. ADD . /usr/src/cgroupfs-mount
  9. # tianon is _really_ lazy, and likes a preseeded bash history
  10. RUN echo 'dpkg-buildpackage -us -uc && lintian -EvIL+pedantic' >> "$HOME/.bash_history"