20 lines
367 B
Text
20 lines
367 B
Text
|
FROM ubuntu:xenial
|
||
|
|
||
|
ARG VERSION
|
||
|
ARG DISTRO
|
||
|
|
||
|
RUN apt-get update && apt-get install -yy debhelper dh-make golang-go libsecret-1-dev
|
||
|
RUN mkdir -p /build
|
||
|
|
||
|
WORKDIR /build
|
||
|
ENV GOPATH /build
|
||
|
|
||
|
COPY Makefile .
|
||
|
COPY credentials credentials
|
||
|
COPY secretservice secretservice
|
||
|
COPY pass pass
|
||
|
COPY deb/debian ./debian
|
||
|
COPY deb/build-deb .
|
||
|
|
||
|
RUN /build/build-deb ${VERSION} ${DISTRO}
|