archlinux-flutter-dockerimage/Dockerfile
Garionion 77674782a7
All checks were successful
continuous-integration/drone/push Build is passing
add packages
2022-03-27 17:49:57 +02:00

16 lines
619 B
Docker

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 https://git.entr0py.de/garionion/flutter-aur.git
WORKDIR flutter-aur
RUN PKGEXT=".pkg.tar" makepkg
FROM archlinux:base-devel
LABEL maintainer="dockerhub@enderware.de"
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