changeset 144: |
cf3a66b61cda |
parent 143: |
8c0203fa2ef6 |
child 145: |
aed38b951ae3 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Sun, 21 Jan 2024 01:10:36 -0500 |
files: |
Containerfile.archlinux Containerfile.box scripts/box-make.sh |
description: |
. |
1.1--- a/Containerfile.archlinux Sun Jan 21 01:06:34 2024 -0500
1.2+++ b/Containerfile.archlinux Sun Jan 21 01:10:36 2024 -0500
1.3@@ -1,2 +1,3 @@
1.4 FROM archlinux:latest
1.5-COPY etc/skel/ /etc/
1.6\ No newline at end of file
1.7+COPY etc/skel/ /etc/
1.8+RUN --network=host pacman -Syu base-devel openssh mercurial git sqlite btrfs-progs liburing wireguard-tools clang tree-sitter libxcb glibc openssl --noconfirm
2.1--- a/Containerfile.box Sun Jan 21 01:06:34 2024 -0500
2.2+++ b/Containerfile.box Sun Jan 21 01:10:36 2024 -0500
2.3@@ -3,7 +3,6 @@
2.4 VOLUME /stash
2.5 ADD etc/nushell/* /etc/nushell/
2.6 RUN mkdir -p /usr/share/lisp /usr/local/share/lisp
2.7-RUN --network=host pacman -Syu base-devel openssh mercurial git sqlite tmux btrfs-progs liburing wireguard-tools clang tree-sitter libxcb glibc openssl --noconfirm
2.8 WORKDIR /usr/local/src
2.9 RUN hg clone https://vc.compiler.company/comp/infra
2.10 RUN hg clone https://vc.compiler.company/comp/core
3.1--- a/scripts/box-make.sh Sun Jan 21 01:06:34 2024 -0500
3.2+++ b/scripts/box-make.sh Sun Jan 21 01:10:36 2024 -0500
3.3@@ -3,7 +3,7 @@
3.4 img="${1:-infra/box}"
3.5 rule="${2:-sbcl-build}"
3.6 # in nushell
3.7-cmd="cd /usr/local/src/infra; hg pull -u; make clean $rule"
3.8-podman run --name "$rule" --replace -it "$img" -e "$cmd"
3.9+cmd="cd /usr/local/src/infra && hg pull -u && make clean $rule"
3.10+podman run --name "$rule" --replace -it "$img" "$cmd"
3.11 podman cp --overwrite $rule:/usr/local/src/infra/dist .
3.12 podman cp --overwrite $rule:/usr/local/src/infra/build .