This commit is contained in:
JMARyA 2024-08-01 10:44:39 +02:00
parent 29dba31b0a
commit c80a8a2b6e
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -1,13 +1,13 @@
FROM ubuntu:22.04
# Install flutter dependencies
RUN apt-get update && apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3 xz-utils zip libglu1-mesa openjdk-8-jdk && apt-get clean
# Set up new user
RUN useradd -ms /bin/bash developer
USER developer
WORKDIR /home/developer
# Install flutter dependencies
RUN apt-get update && apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3 xz-utils zip libglu1-mesa openjdk-8-jdk && apt-get clean
# Clone the flutter repo
RUN git clone https://github.com/flutter/flutter.git /home/developer/flutter
ENV PATH "$PATH:/home/developer/flutter/bin"