Skip to content

Commit

Permalink
Update .gitpod.Dockerfile
Browse files Browse the repository at this point in the history
Change version flutter (again)
  • Loading branch information
Polabiel authored Oct 11, 2024
1 parent 19cc0c7 commit c5e00cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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" \
Expand Down

0 comments on commit c5e00cb

Please sign in to comment.