feat: build the dokku-update package

Releases can be made by running `contrib/release-dokku-update`
This commit is contained in:
Jose Diaz-Gonzalez committed 2018-02-19 13:55:27 -05:00
1 parent 6c76038bfc
commit 98a20e36cd
8 files changed
+210 -24

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db
RUN command -v fpm > /dev/null || sudo gem install fpm --no-ri --no-rdoc
ARG WORKDIR=/go/src/github.com/dokku/dokku
WORKDIR ${WORKDIR}
COPY . ${WORKDIR}
RUN make deb-dokku-update rpm-dokku-update
RUN mkdir -p /data \
&& cp /tmp/*.deb /data \
&& cp /tmp/*.rpm /data \
&& ls -lha /data/