Commit f8c85506 authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Switch to building a deb file, for convenience.

parent 1ca258bf
FROM library/java
FROM re6exp/debian-jessie-oracle-jdk-8
RUN apt-get update
RUN apt-get install -y --force-yes git fakeroot dpkg-sig lintian
RUN git clone -b ${VERSION} --single-branch --depth 1
WORKDIR /kafka-manager
RUN echo 'scalacOptions ++= Seq("-Xmax-classfile-name", "200")' >> build.sbt && \
./sbt clean dist
WORKDIR /kafka-manager/target/universal
CMD tar c kafka-manager-*.zip
./sbt debian:packageBin
WORKDIR /kafka-manager/target
CMD tar c kafka-manager_*.deb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment