mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-06 16:14:15 +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
|
||||
WORKDIR /tmp/deps
|
||||
RUN flutter build linux
|
||||
RUN flutter build apk
|
||||
RUN flutter build apk --flavor production
|
||||
WORKDIR /tmp
|
||||
RUN rm -rf deps
|
||||
RUN find $GRADLE_USER_HOME/daemon -exec chmod 777 {} \;
|
||||
|
|
Loading…
Reference in a new issue