FROM fedora:36 RUN dnf -y update && \ dnf -y install automake \ autoconf \ binutils \ bc \ libtool \ patch \ gettext \ flex \ android-tools \ automake \ bison \ bzip2 \ bzip2-libs \ ccache \ curl \ dpkg-dev \ gcc \ gcc-c++ \ git \ gperf \ libstdc++.i686 \ libxml2-devel \ lz4-libs \ lzop \ make \ maven \ ncurses-compat-libs \ openssl-devel \ pngcrush \ openssl \ python \ python3 \ python3-mako \ python-mako \ python-networkx \ schedtool \ squashfs-tools \ syslinux-devel \ zip \ zlib-devel \ zlib-devel.i686 \ wget \ aria2 \ rsync \ rclone \ tmux \ nano \ fish \ starship \ libxcrypt-compat \ openssh-server RUN curl -o /usr/bin/repo https://storage.googleapis.com/git-repo-downloads/repo && \ chmod +x /usr/bin/repo RUN ssh-keygen -A RUN useradd builder --create-home -s /usr/bin/fish USER builder RUN fish -c "echo fish-init" && \ echo "starship init fish | source" >> ~/.config/fish/config.fish COPY starship.toml ~/.config/starship.toml RUN mkdir ~/.ssh && \ echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN39kBVOv9wFTJPqpm/3acFrL3ASSl5vxiiOpZNdRY5F baalajimaestro@maestrobook-work' >> ~/.ssh/authorized_keys && \ chmod 700 ~/.ssh && \ chmod 600 ~/.ssh/authorized_keys USER root CMD ["/usr/sbin/sshd", "-D"]