flutter docker file verson pull update

This commit is contained in:
2025-08-15 11:36:21 +02:00
parent 96d913629a
commit a45917235f
5 changed files with 15 additions and 14 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -6,13 +6,13 @@ FROM debian:latest AS build-env
RUN apt-get update --fix-missing RUN apt-get update --fix-missing
RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback RUN apt-get install -y curl git wget unzip gdb libstdc++6 libglu1-mesa fonts-droid-fallback
# RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback
RUN apt-get install python3 -y RUN apt-get install python3 -y
# RUN apt-get update --fix-missing
# RUN apt-get install python3-Jinja2
# download Flutter SDK from Flutter Github repo # download Flutter SDK from Flutter Github repo
RUN git clone -b stable https://github.com/flutter/flutter.git /usr/local/flutter RUN git clone -b flutter-3.32-candidate.0 https://github.com/flutter/flutter.git /usr/local/flutter
#RUN git clone https://github.com/flutter/flutter.git /usr/local/flutter # RUN git clone -b stable https://github.com/flutter/flutter.git /usr/local/flutter
# Set flutter environment path # Set flutter environment path
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}" ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}"
@@ -21,17 +21,13 @@ ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PAT
RUN flutter doctor -v RUN flutter doctor -v
# Enable flutter web # Enable flutter web
RUN flutter channel stable RUN flutter channel flutter-3.32-candidate.0
# RUN flutter upgrade # RUN flutter channel stable
#RUN flutter pub add web:^0.5.0
RUN flutter config --enable-web RUN flutter config --enable-web
# Copy files to container and build # Copy files to container and build
RUN mkdir /app/ RUN mkdir /app/
COPY . /app/ COPY . /app/
# COPY ./server/MIH_web_server.py /app/build/web/
# VOLUME ["/app"]
WORKDIR /app WORKDIR /app
# RUN flutter upgrade # RUN flutter upgrade

View File

@@ -227,7 +227,7 @@
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastSwiftUpdateCheck = 0920; LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1430; LastUpgradeCheck = 1510;
ORGANIZATIONNAME = ""; ORGANIZATIONNAME = "";
TargetAttributes = { TargetAttributes = {
331C80D4294CF70F00263BE5 = { 331C80D4294CF70F00263BE5 = {

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "1430" LastUpgradeVersion = "1510"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "YES" parallelizeBuildables = "YES"
@@ -59,6 +59,7 @@
ignoresPersistentStateOnLaunch = "NO" ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES" debugDocumentVersioning = "YES"
debugServiceExtension = "internal" debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES"> allowLocationSimulation = "YES">
<BuildableProductRunnable <BuildableProductRunnable
runnableDebuggingMode = "0"> runnableDebuggingMode = "0">

View File

@@ -1,9 +1,13 @@
import Cocoa import Cocoa
import FlutterMacOS import FlutterMacOS
@NSApplicationMain @main
class AppDelegate: FlutterAppDelegate { class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true return true
} }
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
} }