FROM archlinux/base
RUN pacman --noconfirm -Sy git bash zip upx sudo binutils file make gcc fakeroot diffutils cmake awk unzip && useradd user -m && echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && su user -c "cd /tmp/ && git clone https://aur.archlinux.org/yay.git --depth=1 && cd yay && makepkg --noconfirm -si && yay --noconfirm -S mingw-w64-crt-bin  mingw-w64-winpthreads-bin mingw-w64-gcc-bin mingw-w64-binutils-bin mingw-w64-headers-bin mingw-w64-cmake"
