You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
619 B

FROM archlinux:base-devel as prepare
RUN pacman -Sy git java-environment glu unzip libglvnd python --noconfirm
RUN useradd builduser -m
USER builduser
WORKDIR /home/builduser
RUN git clone
WORKDIR flutter-aur
RUN PKGEXT=".pkg.tar" makepkg
FROM archlinux:base-devel
LABEL maintainer=""
COPY --from=prepare /home/builduser/flutter-aur/flutter-*-x86_64.pkg.tar .
RUN pacman -Sy clang cmake ninja git unzip gtk3 webkit2gtk dart --noconfirm && pacman -U flutter-*-x86_64.pkg.tar --noconfirm && rm -rf /var/cache/pacman && rm flutter-*-x86_64.pkg.tar