From 1eabf1dc9fa6689324b1d898dde2316bd9133eec Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 10 Oct 2024 21:11:50 -0300 Subject: [PATCH] Update .gitpod.Dockerfile --- .gitpod.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 5c128ae..c32e751 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -12,6 +12,7 @@ RUN install-packages openjdk-8-jdk -y \ libnss3-dev \ fonts-noto \ fonts-noto-cjk \ + xz-utils \ && update-java-alternatives --set java-1.8.0-openjdk-amd64 # Make some changes for our vnc client and flutter chrome @@ -19,10 +20,10 @@ 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" + && chmod +x "$_gc_path" # Install flutter and dependencies -USER gitpod +USER root RUN wget -q "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}.tar.xz" -O - \ | tar xpJ -C "$HOME" \ && _file_name="commandlinetools-linux-8092744_latest.zip" && wget "https://dl.google.com/android/repository/$_file_name" \