commit ea67df93bab73080cab901fa65fdf86e377f0ab6 Author: garionion Date: Sun Aug 15 18:30:06 2021 +0200 initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..00322db --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: publish + image: techknowlogick/drone-docker:latest + privileged: true + settings: + repo: garionion/archlinux-flutter + password: + from_secret: docker_password + username: + from_secret: docker_username + tags: + - latest \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3c8d1f0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +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 --noconfirm && pacman -U flutter-*-x86_64.pkg.tar --noconfirm && rm -rf /var/cache/pacman && rm flutter-*-x86_64.pkg.tar