2021-05-27 02:03:07 +02:00
|
|
|
version: v4
|
|
|
|
base: docker-registry.wikimedia.org/wikimedia-buster:latest
|
|
|
|
variants:
|
|
|
|
build:
|
2023-06-03 02:55:42 +02:00
|
|
|
base: docker-registry.wikimedia.org/releng/rust:1.56.1-1
|
2021-05-27 02:03:07 +02:00
|
|
|
prep:
|
|
|
|
includes: [build]
|
|
|
|
builder:
|
|
|
|
command:
|
|
|
|
- cargo
|
|
|
|
- install
|
2022-10-03 02:35:56 +02:00
|
|
|
- "--locked"
|
2021-05-27 02:03:07 +02:00
|
|
|
- "--git"
|
|
|
|
- "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv"
|
2021-06-07 05:13:42 +02:00
|
|
|
- "--rev"
|
2023-06-03 02:55:42 +02:00
|
|
|
- f5f4d95
|
2021-05-27 02:03:07 +02:00
|
|
|
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"
|