fix: android licenses for real this time
All checks were successful
/ build (push) Successful in 4m13s
All checks were successful
/ build (push) Successful in 4m13s
This commit is contained in:
parent
9827ab7de3
commit
0afd524627
@ -10,8 +10,7 @@ RUN sdkmanager \
|
|||||||
"build-tools;35.0.0" \
|
"build-tools;35.0.0" \
|
||||||
"cmdline-tools;9.0" \
|
"cmdline-tools;9.0" \
|
||||||
"platform-tools;35.0.2" \
|
"platform-tools;35.0.2" \
|
||||||
"platforms;android-35" \
|
"platforms;android-35"
|
||||||
&& yes | sdkmanager --licenses
|
|
||||||
|
|
||||||
FROM docker.io/debian:12-slim
|
FROM docker.io/debian:12-slim
|
||||||
RUN useradd -m app
|
RUN useradd -m app
|
||||||
@ -25,6 +24,6 @@ RUN apt-get update \
|
|||||||
COPY --from=build --chown=app:app /opt/ /opt/
|
COPY --from=build --chown=app:app /opt/ /opt/
|
||||||
USER app
|
USER app
|
||||||
ENV PATH="/opt/flutter/bin:$PATH"
|
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
|
&& yes | flutter doctor --android-licenses > /dev/null
|
||||||
ENTRYPOINT ["flutter"]
|
ENTRYPOINT ["flutter"]
|
||||||
|
Loading…
Reference in New Issue
Block a user