From 23154667c7261c0ffe0b68397ce8d2d971d5f72a Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Sun, 10 Nov 2024 23:01:31 +0100 Subject: [PATCH] Move containers to git.strypsteen.com/infra/* --- containers/code-server/Containerfile | 2 +- containers/push-all.sh | 2 +- home/etc/containers/systemd/big-agi.container | 2 +- home/etc/containers/systemd/monero.container | 2 +- laptop/etc/containers/systemd/users/sandboxed-toolbox.container | 2 +- sandbox/etc/containers/systemd/code-server.container | 2 +- vps/etc/containers/systemd/dovecot.container | 2 +- vps/etc/containers/systemd/postfix.container | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/containers/code-server/Containerfile b/containers/code-server/Containerfile index c38ea6a..5bfa268 100644 --- a/containers/code-server/Containerfile +++ b/containers/code-server/Containerfile @@ -1,6 +1,6 @@ FROM quay.io/fedora/fedora-toolbox:41 RUN dnf up -y -RUN dnf install -y bash-color-prompt clang clang-tools-extra gcc hyperfine java-devel llvm mtools nodejs-npm openssl-devel parted poetry postgresql-server python3-pip qemu-system-x86-core rustup systemd-container vim-enhanced +RUN dnf install -y bash-color-prompt cargo-deny clang clang-tools-extra gcc hyperfine java-devel llvm mtools nodejs-npm openssl-devel parted poetry postgresql-server python3-pip qemu-system-x86-core rustup systemd-container vim-enhanced RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.95.1/code-server-4.95.1-amd64.rpm RUN mkdir /etc/systemd/system/user@.service.d RUN mkdir /var/lib/systemd/linger diff --git a/containers/push-all.sh b/containers/push-all.sh index ead6b7d..bb345b3 100755 --- a/containers/push-all.sh +++ b/containers/push-all.sh @@ -4,5 +4,5 @@ cd "$(dirname "$0")" for container in */; do container=${container%/} id=$(podman build --pull=always --ulimit nofile=-1:-1 -q "$container") - echo | podman push --compress --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.com/mathieu/"$container" + echo | podman push --compress --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.com/infra/"$container" done diff --git a/home/etc/containers/systemd/big-agi.container b/home/etc/containers/systemd/big-agi.container index 5a4abc1..c0fcf88 100644 --- a/home/etc/containers/systemd/big-agi.container +++ b/home/etc/containers/systemd/big-agi.container @@ -1,5 +1,5 @@ [Container] -Image=git.strypsteen.com/mathieu/big-agi +Image=git.strypsteen.com/infra/big-agi Network=nginx.network Environment=HTTP_BASIC_AUTH_USERNAME=mathieu Environment=PUPPETEER_WSS_ENDPOINT=ws://sandbox.server.home.arpa:3000 diff --git a/home/etc/containers/systemd/monero.container b/home/etc/containers/systemd/monero.container index 0015a92..2c333b2 100644 --- a/home/etc/containers/systemd/monero.container +++ b/home/etc/containers/systemd/monero.container @@ -2,7 +2,7 @@ Wants=network-online.target After=network-online.target [Container] -Image=git.strypsteen.com/mathieu/monero +Image=git.strypsteen.com/infra/monero Network=nginx.network Volume=monero.volume:/root/.bitmonero:U,Z PublishPort=10.0.1.2:8012:18089 diff --git a/laptop/etc/containers/systemd/users/sandboxed-toolbox.container b/laptop/etc/containers/systemd/users/sandboxed-toolbox.container index bd28dab..668d33d 100644 --- a/laptop/etc/containers/systemd/users/sandboxed-toolbox.container +++ b/laptop/etc/containers/systemd/users/sandboxed-toolbox.container @@ -1,5 +1,5 @@ [Container] -Image=git.strypsteen.com/mathieu/sandboxed-toolbox +Image=git.strypsteen.com/infra/sandboxed-toolbox SecurityLabelDisable=true UserNS=keep-id:uid=1000,gid=1000 User=0 diff --git a/sandbox/etc/containers/systemd/code-server.container b/sandbox/etc/containers/systemd/code-server.container index 0a83a92..c69f8a2 100644 --- a/sandbox/etc/containers/systemd/code-server.container +++ b/sandbox/etc/containers/systemd/code-server.container @@ -1,5 +1,5 @@ [Container] -Image=git.strypsteen.com/mathieu/code-server +Image=git.strypsteen.com/infra/code-server ReadOnly=false AddDevice=/dev/kvm AddDevice=/dev/net/tun diff --git a/vps/etc/containers/systemd/dovecot.container b/vps/etc/containers/systemd/dovecot.container index 9559083..8675b1d 100644 --- a/vps/etc/containers/systemd/dovecot.container +++ b/vps/etc/containers/systemd/dovecot.container @@ -1,5 +1,5 @@ [Container] -Image=git.strypsteen.com/mathieu/dovecot +Image=git.strypsteen.com/infra/dovecot Network=mail.network Volume=/etc/certificates/certificates:/etc/certificates:z,ro Volume=/var/lib/container-data/dovecot:/etc/dovecot-local:z,ro diff --git a/vps/etc/containers/systemd/postfix.container b/vps/etc/containers/systemd/postfix.container index ddfbbb2..5907716 100644 --- a/vps/etc/containers/systemd/postfix.container +++ b/vps/etc/containers/systemd/postfix.container @@ -2,7 +2,7 @@ Requires=dovecot.service rspamd.service unbound.service After=dovecot.service rspamd.service unbound.service [Container] -Image=git.strypsteen.com/mathieu/postfix +Image=git.strypsteen.com/infra/postfix UserNS=host Network=mail.network Volume=/etc/certificates/certificates:/etc/certificates:z,ro