Print only basename in the usage
[docker-gc-build/.git] / Dockerfile
CommitLineData
e9a368ec
SB
1FROM ubuntu:xenial
2
3LABEL description="Docker image for building docker-gc debian package" \
4 maintainer="infra-guild@gonitro.com" \
5 repository="https://github.com/Nitro/docker-gc"
6
7ARG VERSION
8ARG AWS_ACCESS_KEY_ID
9ARG AWS_SECRET_ACCESS_KEY
10
d9b1e27d 11ADD docker-gc /tmp
e9a368ec
SB
12
13WORKDIR /tmp
14ENV DEBIAN_FRONTEND=noninteractive
15RUN apt-get update && apt install -y \
16 git \
17 devscripts \
18 debhelper \
19 curl \
20 build-essential \
21 dh-make
22
23RUN DEBEMAIL="Infrastructure Guild <infra-guild@gonitro.com>" dch "Nitro build." \
24 --newversion "${VERSION}" \
25 --no-auto-nmu
26
27RUN debuild --no-lintian -us -uc -b