version: v4 base: docker-registry.wikimedia.org/wikimedia-buster:latest variants: build: base: docker-registry.wikimedia.org/releng/rust:1.56.1-1 prep: includes: [build] builder: command: - cargo - install - "--locked" - "--git" - "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv" - "--rev" - f5f4d95 validate: copies: - from: prep source: /usr/local/cargo/bin/validate-config destination: /usr/local/bin/validate-config - from: local source: . destination: . entrypoint: - "/usr/local/bin/validate-config" - "channels"