File: Dockerfile

package info (click to toggle)
golang-gocapability-dev 0.0~git20140516-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 100 kB
  • ctags: 131
  • sloc: makefile: 5
file content (13 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM stackbrew/debian:sid
MAINTAINER Johan Euphrosine <proppy@google.com>

RUN echo 'deb-src http://http.debian.net/debian sid main' >> /etc/apt/sources.list
RUN apt-get update && apt-get install -yq git dh-golang golang build-essential devscripts equivs libcrypt-ssleay-perl lintian --no-install-recommends
ADD . /usr/src/golang-gocapability-dev/debian/
WORKDIR /usr/src/golang-gocapability-dev
RUN mk-build-deps -irt'apt-get --no-install-recommends -yq' debian/control

RUN (cd /tmp && bash -x /usr/src/golang-gocapability-dev/debian/README.Source && cp *.orig.tar.gz /usr/src)
RUN (cd /usr/src && tar xvzf /usr/src/*.orig.tar.gz)

CMD [ "debuild", "-us", "-uc" ]