mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 14:20:23 -04:00
20 lines
367 B
Docker
20 lines
367 B
Docker
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}
|