Merge pull request #960 from AppFlowy-IO/fix/docker_build

chore: run command in sudo mode
This commit is contained in:
Nathan.fooo 2022-08-31 23:01:26 +08:00 committed by GitHub
commit 3e3dafe078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ RUN flutter channel stable
RUN flutter config --enable-linux-desktop RUN flutter config --enable-linux-desktop
RUN flutter doctor RUN flutter doctor
RUN dart pub global activate protoc_plugin RUN dart pub global activate protoc_plugin
RUN pacman -Syu --needed --noconfirm git xdg-user-dirs libkeybinder3 RUN sudo pacman -Syu --needed --noconfirm git xdg-user-dirs libkeybinder3
RUN git clone https://github.com/AppFlowy-IO/appflowy.git && \ RUN git clone https://github.com/AppFlowy-IO/appflowy.git && \
cd appflowy/frontend && \ cd appflowy/frontend && \