Proof of concept mechanical port of ircnet/ircd to Rust as part of a bit about C being insecure for network services
0

Configure Feed

Select the types of activity you want to include in your feed.

ircd.rs / docker-bake.hcl
1.1 kB 38 lines
1# Buildx bake definition for leveva, the daemon this workspace ships. 2# 3# docker buildx bake # build leveva (the default group) 4# docker buildx bake leveva # same thing 5# docker buildx bake --push # build + push (set REGISTRY/TAG first) 6# 7# The image builds from the repo-root context because cargo needs every workspace 8# member's manifest to resolve the lockfile, even when only the leveva binary is 9# compiled. The Dockerfile lives under docker/. 10# 11# (The faithful mechanical port's `ircd` image was retired with the port itself in 12# P12; recover docker/Dockerfile.ircd from git history if you need it.) 13 14variable "REGISTRY" { 15 # Image-name prefix, e.g. "ghcr.io/xe/". Empty = bare local names. 16 default = "registry.int.xeserv.us/shitpost/" 17} 18 19variable "TAG" { 20 default = "latest" 21} 22 23group "default" { 24 targets = ["leveva"] 25} 26 27target "leveva" { 28 context = "." 29 dockerfile = "docker/Dockerfile.leveva" 30 tags = ["${REGISTRY}leveva:${TAG}"] 31 platforms = [ 32 "linux/amd64", 33 "linux/arm64", 34 "linux/ppc64le", 35 "linux/ppc64", 36 "linux/riscv64", 37 ] 38}