fix
This commit is contained in:
parent
29dba31b0a
commit
c80a8a2b6e
1 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
FROM ubuntu:22.04
|
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
|
# Set up new user
|
||||||
RUN useradd -ms /bin/bash developer
|
RUN useradd -ms /bin/bash developer
|
||||||
USER developer
|
USER developer
|
||||||
WORKDIR /home/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
|
# Clone the flutter repo
|
||||||
RUN git clone https://github.com/flutter/flutter.git /home/developer/flutter
|
RUN git clone https://github.com/flutter/flutter.git /home/developer/flutter
|
||||||
ENV PATH "$PATH:/home/developer/flutter/bin"
|
ENV PATH "$PATH:/home/developer/flutter/bin"
|
||||||
|
|
Loading…
Reference in a new issue