2019-09-26 16:20:57 -04:00
|
|
|
# Set up a container for doing gradle cross-compiling.
|
|
|
|
#
|
|
|
|
# docker build -t lhunath/mp-gradle --file Dockerfile /var/empty
|
2018-08-02 12:19:49 -04:00
|
|
|
FROM debian:stable-slim
|
2018-06-30 23:35:29 -04:00
|
|
|
|
2018-08-01 20:13:42 -04:00
|
|
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
|
|
|
|
RUN mkdir -p /usr/share/man/man1
|
|
|
|
|
2019-09-26 10:50:22 -04:00
|
|
|
RUN apt-get update && apt-get install -y default-jdk-headless git-core bash libtool automake autoconf make g++-multilib
|
2019-09-25 15:27:04 -04:00
|
|
|
RUN git clone --depth=3 $(: --shallow-submodules) --recurse-submodules --branch rewrite https://gitlab.com/MasterPassword/MasterPassword.git /mpw
|
2019-09-26 10:50:22 -04:00
|
|
|
RUN cd /mpw && ./gradlew -i clean
|
2019-09-26 16:20:57 -04:00
|
|
|
RUN cd /mpw && git pull && git log -1 && ./gradlew -i check
|