From c5e00cbbc9d3520c48bfeefc8e608ac5b46600f4 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 10 Oct 2024 21:03:32 -0300 Subject: [PATCH] Update .gitpod.Dockerfile Change version flutter (again) --- .gitpod.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index c8a407d..5c128ae 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,7 +1,7 @@ FROM gitpod/workspace-full-vnc:2022-07-20-05-50-58 SHELL ["/bin/bash", "-c"] ENV ANDROID_HOME=$HOME/androidsdk \ - FLUTTER_VERSION=3.4.3-stable \ + FLUTTER_VERSION=3.24.3-stable \ QTWEBENGINE_DISABLE_SANDBOX=1 ENV PATH="$HOME/flutter/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH" @@ -15,13 +15,13 @@ RUN install-packages openjdk-8-jdk -y \ && update-java-alternatives --set java-1.8.0-openjdk-amd64 # Make some changes for our vnc client and flutter chrome - RUN sed -i 's|resize=scale|resize=remote|g' /opt/novnc/index.html \ +RUN sed -i 's|resize=scale|resize=remote|g' /opt/novnc/index.html \ && _gc_path="$(command -v google-chrome)" \ && rm "$_gc_path" && printf '%s\n' '#!/usr/bin/env bash' \ 'chromium --start-fullscreen "$@"' > "$_gc_path" \ && chmod +x "$_gc_path" -# Insall flutter and dependencies +# Install flutter and dependencies USER gitpod RUN wget -q "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}.tar.xz" -O - \ | tar xpJ -C "$HOME" \