This commit is contained in:
parent
4f2a697597
commit
dae367db72
@ -21,11 +21,11 @@ RUN sdkmanager \
|
|||||||
"platform-tools;35.0.2" \
|
"platform-tools;35.0.2" \
|
||||||
"platforms;android-35"
|
"platforms;android-35"
|
||||||
COPY --from=build --chown=app:app /opt/ /opt/
|
COPY --from=build --chown=app:app /opt/ /opt/
|
||||||
USER app
|
|
||||||
ENV PATH="/opt/flutter/bin:$PATH"
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
openjdk-17-jdk-headless \
|
openjdk-17-jdk-headless \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
USER app
|
||||||
|
ENV PATH="/opt/flutter/bin:$PATH"
|
||||||
RUN flutter config --android-sdk /opt/android-sdk/
|
RUN flutter config --android-sdk /opt/android-sdk/
|
||||||
RUN flutter doctor
|
RUN flutter doctor
|
||||||
|
Loading…
Reference in New Issue
Block a user