mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
use flavors in Dockerfile
This commit is contained in:
parent
688c418593
commit
7ad061ff70
|
@ -49,7 +49,7 @@ ENV GRADLE_USER_HOME "/tmp/gradle"
|
||||||
RUN git clone --depth=1 --single-branch https://git.selfprivacy.org/kherel/selfprivacy.org.app.git deps
|
RUN git clone --depth=1 --single-branch https://git.selfprivacy.org/kherel/selfprivacy.org.app.git deps
|
||||||
WORKDIR /tmp/deps
|
WORKDIR /tmp/deps
|
||||||
RUN flutter build linux
|
RUN flutter build linux
|
||||||
RUN flutter build apk
|
RUN flutter build apk --flavor production
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN rm -rf deps
|
RUN rm -rf deps
|
||||||
RUN find $GRADLE_USER_HOME/daemon -exec chmod 777 {} \;
|
RUN find $GRADLE_USER_HOME/daemon -exec chmod 777 {} \;
|
||||||
|
|
Loading…
Reference in a new issue