FROM archlinux:base-devel RUN pacman-key --init && \ pacman -Syu --noconfirm git ADD packages /tmp/packages ADD pkgbuilds /tmp/pkgbuilds ADD scripts/build.sh /tmp ADD scripts/run.sh /tmp RUN chmod +x /tmp/build.sh && \ chmod +x /tmp/run.sh && \ chmod -R 777 /tmp/pkgbuilds && \ /tmp/run.sh && \ echo "Build completed!" WORKDIR /tmp/gintctl ENTRYPOINT git clone https://gitea.planet-casio.com/Lephenixnoir/gintctl.git . && \ fxsdk build-cg && \ fxsdk build-fx && \ cp /tmp/pkgbuilds/**/*.pkg.* /mnt/output/ && \ cp /tmp/packages/* /mnt/output/ && \ echo "Build completed!"