aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2023-01-21 02:09:40 -0500
committertdro <tdro@users.noreply.github.com>2023-01-21 02:09:40 -0500
commitb5f761a4c8bf225c25c4ee7665cb8ca0c6bb7e38 (patch)
tree3dbda9daed6d614c7c0bed371454951d9707f750
parent38e063dfb6178b851e3d6feeaf2b0a9213460e92 (diff)
downloaddotfiles-b5f761a4c8bf225c25c4ee7665cb8ca0c6bb7e38.tar.gz
dotfiles-b5f761a4c8bf225c25c4ee7665cb8ca0c6bb7e38.tar.bz2
dotfiles-b5f761a4c8bf225c25c4ee7665cb8ca0c6bb7e38.zip
.config/lxc/builds: Fix up
-rw-r--r--.config/lxc/builds/archlinux.dockerfile4
-rw-r--r--.config/lxc/builds/ubuntu-lunar23.04.dockerfile (renamed from .config/lxc/builds/ubuntu-impish21.10.dockerfile)6
-rw-r--r--.config/lxc/builds/void.dockerfile2
3 files changed, 7 insertions, 5 deletions
diff --git a/.config/lxc/builds/archlinux.dockerfile b/.config/lxc/builds/archlinux.dockerfile
index d41ba42..4441ee6 100644
--- a/.config/lxc/builds/archlinux.dockerfile
+++ b/.config/lxc/builds/archlinux.dockerfile
@@ -1,4 +1,4 @@
-FROM docker.io/library/archlinux:base-devel-20220306.0.49442@sha256:bd9ac4ed9caf9a7e61ae1981d009d5b67fc419027f9cb87f7b2f45af737f44d6
+FROM docker.io/library/archlinux:base-devel-20230115.0.118859@sha256:d363f036cbbe40976a3b5883712fa56637a7245c24eca278d9afe71d64a93aea
RUN pacman --noconfirm -Syu wget
@@ -54,7 +54,7 @@ RUN systemctl mask \
sys-kernel-debug.mount \
systemd-journald-audit.socket \
systemd-firstboot.service \
- tmp.mount \
+ tmp.mount
RUN printf 'permit :wheel\npermit nopass keepenv root\n' > /etc/doas.conf && chmod 400 /etc/doas.conf
diff --git a/.config/lxc/builds/ubuntu-impish21.10.dockerfile b/.config/lxc/builds/ubuntu-lunar23.04.dockerfile
index 1bd8b27..c86f47b 100644
--- a/.config/lxc/builds/ubuntu-impish21.10.dockerfile
+++ b/.config/lxc/builds/ubuntu-lunar23.04.dockerfile
@@ -1,14 +1,16 @@
-FROM docker.io/library/ubuntu:impish@sha256:4e4222975b1673cbbff799934fa00dc0b3191d0c9a7711f5b1d0b81fdcbfe6aa
+FROM docker.io/library/ubuntu:lunar@sha256:a40051efc6b591d38faffb11fdcef157103b9a4143edbc959c47e4b8c7d2e9eb
RUN apt update
RUN apt install --no-install-recommends --assume-yes \
- init uuid-runtime neofetch vim-tiny iproute2 dhcpcd5 xauth htop
+ init uuid-runtime neofetch vim-tiny iproute2 xauth htop
RUN systemctl mask sys-kernel-debug.mount
+RUN systemctl enable systemd-networkd
RUN ln --symbolic --force bash /bin/sh
+RUN printf '[Match]\nName=eth0\n\n[Network]\nDHCP=yes' > /etc/systemd/network/20-wired.network
RUN printf 'export TERM=linux\n' >> /etc/profile
RUN printf 'neofetch\n' >> /etc/profile
diff --git a/.config/lxc/builds/void.dockerfile b/.config/lxc/builds/void.dockerfile
index 07a74f0..155df96 100644
--- a/.config/lxc/builds/void.dockerfile
+++ b/.config/lxc/builds/void.dockerfile
@@ -1,7 +1,7 @@
FROM docker.io/voidlinux/voidlinux:latest@sha256:26ba972f0c06beadcec4796ec3037e0bec32af4d255edb68a528bd98304c74f4
+RUN xbps-install -Syu xbps
RUN xbps-install -Syu
-
RUN xbps-install -y openssh dhcpcd iputils iproute2 socklog-void neofetch htop
RUN mkdir --parents /run/runit/runsvdir