Skip to content

Commit bf9412c

Browse files
committed
debuild with Docker
1 parent f842e3c commit bf9412c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

debian/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/out/

debian/Dockerfile.xenial

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See also: https://github.com/sorah/config/blob/master/bin/sorah-debuild
2+
FROM ubuntu:16.04
3+
4+
# just to invalidate cache
5+
ENV NKMIBUILDREV=1
6+
7+
RUN mkdir -p /build \
8+
&& apt-get update \
9+
&& apt-get install -y debhelper dh-make devscripts gnupg2 vim equivs
10+
RUN mkdir -p -m700 /root/.gnupg
11+
12+
ADD control /control
13+
RUN mk-build-deps -i --t 'apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends' /control
14+
RUN apt-get install -y tzdata

0 commit comments

Comments
 (0)