feat: add a simple build process for herokuish releases

These should be moved to the herokuish repository, but as Dokku manages those releases, it's best to at least place these scripts here.
This commit is contained in:
Jose Diaz-Gonzalez committed 2018-05-20 19:06:31 -04:00
1 parent a3a50f193c
commit e36db73864
2 files changed
+175

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-herokuish rpm-herokuish
RUN mkdir -p /data \
&& cp /tmp/*.deb /data \
&& cp /tmp/*.rpm /data \
&& ls -lha /data/