From 36a5d9059d744c0fb9e3638aa3acbe2a45f5487b Mon Sep 17 00:00:00 2001 From: JMARyA Date: Fri, 2 Aug 2024 08:08:19 +0200 Subject: [PATCH] update --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index b801de4..445ee8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,14 +3,9 @@ FROM ubuntu:22.04 # Install flutter dependencies RUN apt-get update && apt-get install -y curl git wget unzip libgconf-2-4 gdb fonts-droid-fallback python3 xz-utils zip libglu1-mesa openjdk-8-jdk clang ninja-build pkg-config && apt-get clean -# Set up new user -RUN useradd -ms /bin/bash developer -USER developer -WORKDIR /home/developer - # Clone the flutter repo -RUN git clone https://github.com/flutter/flutter.git /home/developer/flutter -ENV PATH "$PATH:/home/developer/flutter/bin" +RUN git clone https://github.com/flutter/flutter.git /usr/bin/flutter +ENV PATH "$PATH:/usr/bin/flutter/bin:/usr/bin/flutter/bin/cache/dart-sdk/bin" # Enable flutter web RUN flutter channel stable