FROM registry.fedoraproject.org/fedora:latest

RUN dnf -y update && dnf -y upgrade && \
    dnf install -y 'dnf-command(copr)' git && \

    # For syntax checks with `find . -name '*.js' -exec js60 -c -s '{}' ';'`
    dnf install -y findutils mozjs60-devel && \

    # For static analysis with eslint
    dnf install -y nodejs && \
    npm install -g eslint && \

    # Shameless plug for my own tooling; useful for generating zip
    dnf copr enable -y fmuellner/gnome-shell-ci && \
    dnf install -y gnome-extensions-tool meson && \

    dnf clean all && \
    rm -rf /var/cache/dnf