Skip to content

Commit

Permalink
Update .gitpod.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Polabiel authored Oct 11, 2024
1 parent c5e00cb commit 1eabf1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ 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
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" \
Expand Down

0 comments on commit 1eabf1d

Please sign in to comment.