changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/build-containers.sh

changeset 371: 7dcabf3e0edc
parent: 19057404be07
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rwxr-xr-x
description: no link in bootstrap.sh
1 #!/bin/sh
2 set -e
3 podman build -f Containerfile.alpine --squash --platform linux/amd64 -t comp/infra/alpine
4 # podman build -f Containerfile.alpine --squash --platform linux/arm64 --manifest comp/infra/alpine -t comp/infra/alpine
5 
6 # podman build -f Containerfile.archriscv --squash -t infra/archriscv --platform linux/riscv64 --manifest infra/archlinux
7 # podman build -f Containerfile.archarm --squash -t infra/archarm --platform linux/arm64 --manifest infra/archlinux
8 podman build -f Containerfile.archlinux --squash --platform linux/amd64 -t comp/infra/archlinux
9 
10 podman build -f Containerfile.box --squash -t comp/infra/box --no-cache # technically doesn't need to be no-cache, but w/e
11 
12 podman build -f Containerfile.ubuntu --squash -t comp/infra/ubuntu
13 
14 podman build -f Containerfile.fedora.arm64v8 --squash -t comp/infra/fedora:arm64v8
15 
16 podman build -f Containerfile.worker --squash -t comp/infra/worker
17 
18 podman build -f Containerfile.operator --squash -t comp/infra/operator
19 
20 # podman build -f Containerfile.vc-runner --squash -t infra/vc-runner
21 # podman push infra/vc-runner registry.compiler.company/comp/infra/vc-runner
22 
23 # podman build -f Containerfile.vc --squash -t infra/vc
24 # podman push infra/vc registry.compiler.company/comp/infra/vc