Change Linux desktop example to Debian arm64
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b21965fd8d
commit
6e5707d36a
@ -92,13 +92,13 @@ COPY --from=build /app/build/app/outputs/flutter-apk/app-release.apk /
|
|||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
FROM svrnty/flutter-sdk:linux-latest AS build
|
FROM svrnty/flutter-sdk:linux-latest AS build
|
||||||
COPY . /app
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
RUN flutter pub get && flutter build linux --release
|
RUN flutter pub get && flutter build linux --release
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM debian:bookworm-slim
|
||||||
RUN apt-get update && apt-get install -y libgtk-3-0 && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y libgtk-3-0 && rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=build /app/build/linux/x64/release/bundle /app
|
COPY --from=build /app/build/linux/arm64/release/bundle /app
|
||||||
ENTRYPOINT ["/app/my_app"]
|
ENTRYPOINT ["/app/my_app"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user